qcacmn: Set max BW for each valid channel and send to FW
Configuration for Issue:- DUT configuration:- 1. Configure DUT's country as US where channel 165 does not support channel bandwidth of 40 mhz. AP Configuration:- 1 Configure the AP in a country where channel 165 supports channel bandwidth 40MHZ. Scenario of the issue:- 1.Connect to a diff AP on some channel x with same SSID, and then roam to this AP. Observation:- The DUT would connect in 40 mhz to this AP instead of 20Mhz, which violates the DUT's country reg rules. Expectation:- The DUT should re-connect only in 20Mhz on channel 165, or only in max BW supported by reg in that country. Issue:- The DUT does not consider the max bandwidth allowed for the channel in the country configured, and allow the re-association only in the respective bandwidth. Fix:- Send the max BW supported by the channels in the current reg domain to the FW so that it considers the max BW of the channel and AP capability and then roam in the respective BW only. Change-Id: I977090c58e378e83cb5a3ee84a72afd018e8c428 CRs-Fixed: 2508187
This commit is contained in:
@@ -621,6 +621,7 @@ typedef enum {
|
||||
* @maxreqpower: Max regulatory power
|
||||
* @antennamac: Max antenna
|
||||
* @reg_class_id: Regulatory class id.
|
||||
* @max_bw_supported: max BW supported
|
||||
*/
|
||||
|
||||
struct channel_param {
|
||||
@@ -644,6 +645,7 @@ struct channel_param {
|
||||
int8_t maxregpower;
|
||||
uint8_t antennamax;
|
||||
uint8_t reg_class_id;
|
||||
wmi_host_channel_width max_bw_supported;
|
||||
};
|
||||
|
||||
#ifdef FEATURE_OEM_DATA
|
||||
|
Reference in New Issue
Block a user