@@ -351,6 +351,7 @@ struct mt76_wcid {
351351 u8 hw_key_idx ;
352352 u8 hw_key_idx2 ;
353353
354+ u8 offchannel :1 ;
354355 u8 sta :1 ;
355356 u8 sta_disabled :1 ;
356357 u8 amsdu :1 ;
@@ -491,6 +492,7 @@ struct mt76_hw_cap {
491492#define MT_DRV_RX_DMA_HDR BIT(3)
492493#define MT_DRV_HW_MGMT_TXQ BIT(4)
493494#define MT_DRV_AMSDU_OFFLOAD BIT(5)
495+ #define MT_DRV_IGNORE_TXS_FAILED BIT(6)
494496
495497struct mt76_driver_ops {
496498 u32 drv_flags ;
@@ -769,6 +771,7 @@ struct mt76_testmode_data {
769771
770772struct mt76_vif_link {
771773 u8 idx ;
774+ u8 link_idx ;
772775 u8 omac_idx ;
773776 u8 band_idx ;
774777 u8 wmm_idx ;
@@ -786,6 +789,7 @@ struct mt76_vif_link {
786789
787790struct mt76_vif_data {
788791 struct mt76_vif_link __rcu * link [IEEE80211_MLD_MAX_NUM_LINKS ];
792+ struct mt76_vif_link __rcu * offchannel_link ;
789793
790794 struct mt76_phy * roc_phy ;
791795 u16 valid_links ;
@@ -1224,6 +1228,8 @@ struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size,
12241228 u8 band_idx );
12251229int mt76_register_phy (struct mt76_phy * phy , bool vht ,
12261230 struct ieee80211_rate * rates , int n_rates );
1231+ struct mt76_phy * mt76_vif_phy (struct ieee80211_hw * hw ,
1232+ struct ieee80211_vif * vif );
12271233
12281234struct dentry * mt76_register_debugfs_fops (struct mt76_phy * phy ,
12291235 const struct file_operations * ops );
@@ -1482,6 +1488,8 @@ void mt76_sta_pre_rcu_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
14821488
14831489int mt76_get_min_avg_rssi (struct mt76_dev * dev , u8 phy_idx );
14841490
1491+ s8 mt76_get_power_bound (struct mt76_phy * phy , s8 txpower );
1492+
14851493int mt76_get_txpower (struct ieee80211_hw * hw , struct ieee80211_vif * vif ,
14861494 unsigned int link_id , int * dbm );
14871495int mt76_init_sar_power (struct ieee80211_hw * hw ,
0 commit comments