瀏覽代碼

qcacmn: Define new_ch_width in csa_offload_params as phy_ch_width

Currently sme_switch_channel set new_ch_width as phy_ch_width, while
wma_csa_offload_handler set new_ch_width as raw bit in wide bandwidth
channel switch IE.
Clean up the code. Define new_ch_width in csa_offload_params as
phy_ch_width.

Change-Id: Ie1999860421aa60c18cdc8059275954d910b4b66
CRs-Fixed: 3324746
Bing Sun 2 年之前
父節點
當前提交
7b317d2b63
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

+ 1 - 1
umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

@@ -3950,7 +3950,7 @@ struct csa_offload_params {
 	uint32_t csa_chan_freq;
 	uint8_t switch_mode;
 	uint8_t sec_chan_offset;
-	uint8_t new_ch_width;
+	enum phy_ch_width new_ch_width;
 	uint8_t new_op_class;
 	uint8_t new_ch_freq_seg1;
 	uint8_t new_ch_freq_seg2;