Przeglądaj źródła

qcacmn: Add mlo ie capability struct

For mlo, add mlo ie capability info
struct in common code.

Change-Id: I77c9792c736b1bdd95b2d863bb9f1ab4ee7ed4bb
CRs-Fixed: 3097761
Amruta Kulkarni 3 lat temu
rodzic
commit
475dd8ff1e
1 zmienionych plików z 48 dodań i 0 usunięć
  1. 48 0
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

+ 48 - 0
umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

@@ -2482,6 +2482,54 @@ struct wlan_eht_cap_info {
 #endif
 } qdf_packed;
 
+/**
+ * struct wlan_mlo_ie_info - struct for mlo IE information
+ * mld_mac_addr: MLD MAC address
+ * reserved_1: reserved bits
+ * mld_capab_present: MLD capability present
+ * eml_capab_present: EML capability present
+ * medium_sync_delay_info_present: Medium sync delay information present
+ * bss_param_change_cnt_present: BSS parameter change count present
+ * link_id_info_present: Link ID information present
+ * mld_mac_addr_present: MLD MAC address present
+ * reserved: reserved bit
+ * type: Type bits
+ */
+
+struct wlan_mlo_ie_info {
+#ifndef ANI_LITTLE_BIT_ENDIAN
+	union {
+		struct {
+			uint8_t mld_mac_addr[6];
+		} info; /* mld_mac_addr_present = 1 */
+	} mld_mac_addr;
+	uint16_t reserved_1:6;
+	uint16_t mld_capab_present:1;
+	uint16_t eml_capab_present:1;
+	uint16_t medium_sync_delay_info_present:1;
+	uint16_t bss_param_change_cnt_present:1;
+	uint16_t link_id_info_present:1;
+	uint16_t mld_mac_addr_present:1;
+	uint16_t reserved:1;
+	uint16_t type:3;
+#else
+	uint16_t type:3;
+	uint16_t reserved:1;
+	uint16_t mld_mac_addr_present:1;
+	uint16_t link_id_info_present:1;
+	uint16_t bss_param_change_cnt_present:1;
+	uint16_t medium_sync_delay_info_present:1;
+	uint16_t eml_capab_present:1;
+	uint16_t mld_capab_present:1;
+	uint16_t reserved_1:6;
+	union {
+		struct {
+			uint8_t mld_mac_addr[6];
+		} info; /* mld_mac_addr_present = 1 */
+	} mld_mac_addr;
+#endif
+} qdf_packed;
+
 /**
  * struct oce_reduced_wan_metrics: struct for oce wan metrics
  * @downlink_av_cap: Download available capacity