mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x02: make beacon slots bigger for USB
Since we sent PS buffered frames via beacon memory we need to make beacon slots bigger. That imply we will also need to decrease number of slots as beacon SRAM memory is limited to 8kB. Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
e284cc2b6e
commit
77e56b87bf
@@ -69,6 +69,8 @@ struct mt76x02_calibration {
|
||||
};
|
||||
|
||||
struct mt76x02_beacon_ops {
|
||||
unsigned int nslots;
|
||||
unsigned int slot_size;
|
||||
void (*pre_tbtt_enable) (struct mt76x02_dev *, bool);
|
||||
void (*beacon_enable) (struct mt76x02_dev *, bool);
|
||||
};
|
||||
@@ -195,7 +197,6 @@ void mt76x02_bss_info_changed(struct ieee80211_hw *hw,
|
||||
struct ieee80211_vif *vif,
|
||||
struct ieee80211_bss_conf *info, u32 changed);
|
||||
|
||||
extern const u16 mt76x02_beacon_offsets[16];
|
||||
struct beacon_bc_data {
|
||||
struct mt76x02_dev *dev;
|
||||
struct sk_buff_head q;
|
||||
|
||||
Reference in New Issue
Block a user