qcacld-3.0: Use freq to process Tdls peer supported chans
With introduction of TDLS on 6 GHz, some of the channels that peer can support will be same for 6 GHz band other bands. So, extract frequency by using peer supported operating class and supported channel list which can be used for further processing. If channel numbers are used then the duplicate channel numbers are removed which may lead to skipping 6 GHz supported channels. Change-Id: Ic6838d05c3dab5a0cc17483890b83805e076684c CRs-Fixed: 3233999
此提交包含在:
@@ -822,7 +822,7 @@ struct tdls_update_peer_params {
|
||||
uint8_t uapsd_queues;
|
||||
uint8_t max_sp;
|
||||
uint8_t supported_channels_len;
|
||||
uint8_t supported_channels[WLAN_MAC_MAX_SUPP_CHANNELS];
|
||||
qdf_freq_t supported_chan_freq[WLAN_MAC_MAX_SUPP_CHANNELS];
|
||||
uint8_t supported_oper_classes_len;
|
||||
uint8_t supported_oper_classes[WLAN_MAX_SUPP_OPER_CLASSES];
|
||||
bool is_qos_wmm_sta;
|
||||
@@ -908,14 +908,14 @@ struct tdls_info {
|
||||
|
||||
/**
|
||||
* struct tdls_ch_params - channel parameters
|
||||
* @chan_id: ID of the channel
|
||||
* @ch_freq: Channel frequency
|
||||
* @pwr: power level
|
||||
* @dfs_set: is dfs supported or not
|
||||
* @half_rate: is the channel operating at 10MHz
|
||||
* @quarter_rate: is the channel operating at 5MHz
|
||||
*/
|
||||
struct tdls_ch_params {
|
||||
uint8_t chan_id;
|
||||
qdf_freq_t ch_freq;
|
||||
uint8_t pwr;
|
||||
bool dfs_set;
|
||||
bool half_rate;
|
||||
|
新增問題並參考
封鎖使用者