qcacmn: New TLV sequence supporting for UL OFDMA in monitor mode

According to the ucode and mac team, the new TB-PPDU (UL OFDMA
Dat frame) from any other users using the TLV's fields below:

    * PHYRX_RSSI_LEGACY (has a reception type field that is
			 set to UL-MU)
    * PHYRX_RSSI_HT
    * PHYRX_COMMON_USER_INFO (has a reception type field that is
			 set to UL-MU)
    * PHYRX_USER_INFO (has more detailed modulation info)
    * PHYRX_USER_INFO (Could be more than one)
      ...
    * PHYRX_DATA
    * PHYRX_DATA (Could be more than one)

CRs-Fixed: 2329959
Change-Id: Ib5fa1734a5525d2b2d1db8756166f259be30b9c0
This commit is contained in:
chenguo
2018-10-15 17:17:46 +08:00
committed by nshrivas
parent d9dea6480c
commit 33f505ac30
2 changed files with 33 additions and 0 deletions

View File

@@ -200,6 +200,7 @@
* @rs_flags: Flags to indicate AMPDU or AMSDU aggregation
* @cck_flag: Flag to indicate CCK modulation
* @ofdm_flag: Flag to indicate OFDM modulation
* @ulofdma_flag: Flag to indicate UL OFDMA PPDU
* @he_per_user_1: HE per user info1
* @he_per_user_2: HE per user info2
* @he_per_user_position: HE per user position info
@@ -275,6 +276,7 @@ struct mon_rx_status {
uint8_t rs_flags;
uint8_t cck_flag;
uint8_t ofdm_flag;
uint8_t ulofdma_flag;
/* New HE radiotap fields */
uint16_t he_per_user_1;
uint16_t he_per_user_2;
@@ -512,6 +514,20 @@ enum qdf_proto_type {
QDF_PROTO_TYPE_MAX
};
/**
* qdf_reception_type - reception type used by lithium phy TLV
* @QDF_RECEPTION_TYPE_ULOFMDA - UL OFDMA
* @QDF_RECEPTION_TYPE_ULMIMO - UL MIMO
* @QQDF_RECEPTION_TYPE_FRAMELESS - Frame less
* @QDF_RECEPTION_TYPE_OTHER - All the other types
*/
enum qdf_reception_type {
QDF_RECEPTION_TYPE_ULOFMDA,
QDF_RECEPTION_TYPE_ULMIMO,
QDF_RECEPTION_TYPE_OTHER,
QDF_RECEPTION_TYPE_FRAMELESS
};
/**
* cb_ftype - Frame type information in skb cb
* @CB_FTYPE_INVALID - Invalid