Selecting the 40 MHz channel in WPA Supplicant

wifi

I am trying to connect to 40 MHz Wifi Channel. I have configured the router to enable 40MHz channel width option. But still the it gets connected to 20 MHz channel width.

$ iw wlan0 link
Connected to b4:75:0e:14:d8:98 (on wlan0)
        SSID: Cisco08012
        freq: 2462
        RX: 69690 bytes (330 packets)
        TX: 48728 bytes (158 packets)
        signal: -50 dBm
        tx bitrate: 72.2 MBit/s MCS 7 short GI

I would like to know whether to additional parameters in wpa_supplicant.conf file or I have to configure the firmware of the chipset we are using.

EDIT:

the wpa_cli scan_results:

b4:75:0e:14:d8:98       2462    -57     [WPA2-PSK-CCMP][ESS]    Cisco08012
c4:12:f5:08:10:70       2412    -67     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      GoGreen

EDIT 2:

$ iw reg get
global
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

global
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

Best Answer

The problem is with the firmware of the chipset I am using. The vendor has disabled the channel bonding in the configuration. Once I enabled it I can connect it to the 40 Mhz Channel. The Qualcomm chipset requires the gChannelBondingMode24GHz variable to be set as one in the configuration file

Related Question