Search Linux Wireless

RE: [RFC v2] mac80211: prepare sta handling for MLO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,
> 
> I think this looks fine - want to send it as a PATCH? I think I'll just apply the
> spatch directly.
Sure, Let me send out a PATCH shortly.
> 
> If there's any needed fixups beyond the spatch that might be good to know too.
So, in this patch (mac80211) I had to manually fix couple of changes around ADD_STA_STATS, TRACE_EVENT macros.

In drivers, only below change was required in addition.

--- a/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
@@ -1464,7 +1464,7 @@ mt7915_mcu_add_rate_ctrl_fixed(struct mt7915_dev *dev,
        do {                                                                    \
                u8 i, gi = mask->control[band]._gi;                             \
                gi = (_he) ? gi : gi == NL80211_TXRATE_FORCE_SGI;               \
-               for (i = 0; i <= sta->bandwidth; i++) {                         \
+               for (i = 0; i <= sta->deflink.bandwidth; i++) {                 \
                        phy.sgi |= gi << (i << (_he));                          \
                        phy.he_ltf |= mask->control[band].he_ltf << (i << (_he));\
                }                                                               \
              
   
Thanks,
Sriram.R




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux