Quellcode durchsuchen

qcacld-3.0: Convert channel to frequency in rx mgmt handler

As a part of 802.11ax amendment, 6GHz band operation is added.

Since the 6 GHz channel numbers are overlapping with existing 2.4GHz
and 5GHz channel numbers, use frequency to identify unique channel
operation instead of channel number. Channel frequency is unique across
bands.

As a part of above requirement, in the existing WMI interface handlers
and related functions, wherever missing, add frequency attributes to
identify unique channel operation.

Change-Id: I757f60cef414d206b275b4fbd192d5d22bbc93d7
CRs-Fixed: 2517901
Ashish Kumar Dhanotiya vor 5 Jahren
Ursprung
Commit
59d2dca212
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 5 1
      tdls/dispatcher/inc/wlan_tdls_public_structs.h

+ 5 - 1
tdls/dispatcher/inc/wlan_tdls_public_structs.h

@@ -878,9 +878,10 @@ struct tdls_ch_params {
  * @peer_chan: peer channel list
  * @peer_oper_classlen: peer operating class length
  * @peer_oper_class: peer operating class
- * @pref_off_channum: peer offchannel number
+ * @pref_off_channum: preferred offchannel number
  * @pref_off_chan_bandwidth: peer offchannel bandwidth
  * @opclass_for_prefoffchan: operating class for offchannel
+ * @pref_offchan_freq: preferred offchannel frequency
  */
 struct tdls_peer_params {
 	uint8_t is_peer_responder;
@@ -897,6 +898,7 @@ struct tdls_peer_params {
 	uint8_t pref_off_channum;
 	uint8_t pref_off_chan_bandwidth;
 	uint8_t opclass_for_prefoffchan;
+	uint32_t pref_offchan_freq;
 };
 
 /**
@@ -922,6 +924,7 @@ struct tdls_peer_update_state {
  * @tdls_off_ch: Target Off Channel
  * @oper_class: Operating class for target channel
  * @is_responder: Responder or initiator
+ * @tdls_off_chan_freq: Target Off Channel frequency
  */
 struct tdls_channel_switch_params {
 	uint32_t    vdev_id;
@@ -931,6 +934,7 @@ struct tdls_channel_switch_params {
 	uint8_t     tdls_sw_mode;
 	uint8_t     oper_class;
 	uint8_t     is_responder;
+	uint32_t    tdls_off_chan_freq;
 };
 
 /**