qcacld-3.0: Process rx_mgmt_pkt based on frequency

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 part of above requirement add logic to process rx mgmt
packets based on the frequencies instead of channel numbers.

Change-Id: Ib063070738ecdb4f83379eafe50629778a490aae
CRs-fixed: 2522693
This commit is contained in:
Ashish Kumar Dhanotiya
2019-08-29 18:56:32 +05:30
committed by nshrivas
parent 0203b6d254
commit ca5d922263
26 changed files with 104 additions and 118 deletions

View File

@@ -103,7 +103,7 @@ struct p2p_event {
/**
* struct p2p_rx_mgmt_frame - rx mgmt frame structure
* @frame_len: Frame length
* @rx_chan: RX channel
* @rx_freq: RX Frequency
* @vdev_id: Vdev id
* @frm_type: Frame type
* @rx_rssi: RX rssi
@@ -111,7 +111,7 @@ struct p2p_event {
*/
struct p2p_rx_mgmt_frame {
uint32_t frame_len;
uint32_t rx_chan;
uint32_t rx_freq;
uint32_t vdev_id;
uint32_t frm_type;
uint32_t rx_rssi;