@@ -698,6 +698,11 @@ static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy)
* belonging to that MU-MIMO groupID; %NULL if not changed
* @vht_mumimo_follow_addr: MU-MIMO follow address, used for monitoring
* MU-MIMO packets going to the specified station; %NULL if not changed
+ * @ru_punct_bitmap: RU puncturing bitmap. Each bit represents a 20 MHz channel
+ * with lowest bit corresponding to the lowest frequency. Bit set to 1
+ * indicates that the channel is punctured, otherwise the channel is active
+ * @ru_punct_bitmap_supp_he: Indicates whether RU puncturing bitmap validation
+ * should include OFDMA bitmaps.
*/
struct vif_params {
u32 flags;
@@ -705,6 +710,8 @@ struct vif_params {
u8 macaddr[ETH_ALEN];
const u8 *vht_mumimo_groups;
const u8 *vht_mumimo_follow_addr;
+ u16 ru_punct_bitmap;
+ bool ru_punct_bitmap_supp_he;
};
/**
@@ -5732,6 +5739,12 @@ static inline void wiphy_unlock(struct wiphy *wiphy)
* @links: array of %IEEE80211_MLD_MAX_NUM_LINKS elements containing @addr
* @ap and @client for each link
* @valid_links: bitmap describing what elements of @links are valid
+ * @ru_punct_bitmap: (private) RU puncturing bitmap. Each bit represents a
+ * 20 MHz channel with lowest bit corresponding to the lowest frequency.
+ * Bit set to 1 indicates that the channel is punctured, otherwise the
+ * channel is active
+ * @ru_punct_bitmap_supp_he: (private) Indicates whether RU puncturing bitmap
+ * validation should include OFDMA bitmaps.
*/
struct wireless_dev {
struct wiphy *wiphy;
@@ -5846,6 +5859,9 @@ struct wireless_dev {
};
} links[IEEE80211_MLD_MAX_NUM_LINKS];
u16 valid_links;
+
+ u16 ru_punct_bitmap;
+ bool ru_punct_bitmap_supp_he;
};
static inline const u8 *wdev_address(struct wireless_dev *wdev)