wpa_supplicant: Add channel 140 to ht40plus allowed list for mesh/IBSS
When channel 140 is configured in mesh, interface fails to come up due to channel bond (136,140). Since Channel 136 is not HT40+ capable, validation for HT channel bonding fails when it checks whether first channel in the bond (channel 136) is HT40+ capable. In mesh, during channel setup, secondary channel offset for the configured channel will be selected as +1 if primary channel is capable of HT40+. In current code, channel 140 is not allowed as HT40+ and hence secondary channel offset is selected as -1, which makes 136 as secondary channel. But channel 136 is not HT40+ supported and fails in channel bonding validation. Add 140 to HT40+ allowed list as HT40+ is supported for the channel. Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
This commit is contained in:
parent
75d33c988f
commit
544801d74c
1 changed files with 2 additions and 2 deletions
|
@ -2796,8 +2796,8 @@ static void ibss_mesh_select_40mhz(struct wpa_supplicant *wpa_s,
|
|||
int i, res;
|
||||
unsigned int j;
|
||||
static const int ht40plus[] = {
|
||||
36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, 165, 173,
|
||||
184, 192
|
||||
36, 44, 52, 60, 100, 108, 116, 124, 132, 140,
|
||||
149, 157, 165, 173, 184, 192
|
||||
};
|
||||
int ht40 = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue