LinuxKPI: 802.11: add more header compat bits

First part adding more bits in order to synch up drivers to the same
level and enable a new ones.

MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2022-09-21 17:12:48 +00:00
parent 8d42019058
commit f02e21159b
4 changed files with 33 additions and 0 deletions

View File

@ -424,6 +424,16 @@ struct ieee80211_hdr_3addr { /* net80211::ieee80211_frame */
__le16 seq_ctrl;
};
struct ieee80211_qos_hdr { /* net80211:ieee80211_qosframe */
__le16 frame_control;
__le16 duration_id;
uint8_t addr1[ETH_ALEN];
uint8_t addr2[ETH_ALEN];
uint8_t addr3[ETH_ALEN];
__le16 seq_ctrl;
__le16 qos_ctrl;
};
struct ieee80211_vendor_ie {
};

View File

@ -321,6 +321,12 @@ enum nl80211_he_gi {
NL80211_RATE_INFO_HE_GI_3_2,
};
enum nl80211_he_ltf {
NL80211_RATE_INFO_HE_1XLTF,
NL80211_RATE_INFO_HE_2XLTF,
NL80211_RATE_INFO_HE_4XLTF,
};
enum nl80211_dfs_regions {
NL80211_DFS_UNSET,
NL80211_DFS_FCC,
@ -333,6 +339,7 @@ enum nl80211_sar_type {
};
#define NL80211_VHT_NSS_MAX 8
#define NL80211_HE_NSS_MAX 8
enum nl80211_tid_cfg_attr {
NL80211_TID_CONFIG_ATTR_NOACK,

View File

@ -576,6 +576,7 @@ struct mac_address {
struct ieee80211_reg_rule {
/* TODO FIXME */
uint32_t flags;
int dfs_cac_ms;
struct freq_range {
int start_freq_khz;
int end_freq_khz;
@ -787,6 +788,12 @@ struct cfg80211_he_bss_color {
struct ieee80211_he_obss_pd {
bool enable;
uint8_t min_offset;
uint8_t max_offset;
uint8_t non_srg_max_offset;
uint8_t bss_color_bitmap;
uint8_t partial_bssid_bitmap;
uint8_t sr_ctrl;
};
struct ieee80211_sta_he_6ghz_capa {

View File

@ -809,6 +809,8 @@ struct ieee80211_low_level_stats {
enum ieee80211_offload_flags {
IEEE80211_OFFLOAD_ENCAP_4ADDR,
IEEE80211_OFFLOAD_ENCAP_ENABLED,
IEEE80211_OFFLOAD_DECAP_ENABLED,
};
struct ieee80211_ops {
@ -2429,6 +2431,13 @@ ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif,
return;
}
static __inline void
ieeee80211_obss_color_collision_notify(struct ieee80211_vif *vif,
uint64_t obss_color_bitmap)
{
TODO();
}
#define ieee80211_send_bar(_v, _r, _t, _s) \
linuxkpi_ieee80211_send_bar(_v, _r, _t, _s)