diff --git a/patches/750-ibss-2g-fix.patch b/patches/750-ibss-2g-fix.patch new file mode 100755 index 00000000..8a0a42c8 --- /dev/null +++ b/patches/750-ibss-2g-fix.patch @@ -0,0 +1,20 @@ +--- /dev/null ++++ b/package/kernel/mac80211/patches/ath/302-ibss-2g-fix.patch +@@ -0,0 +1,17 @@ ++--- a/net/mac80211/ibss.c +++++ b/net/mac80211/ibss.c ++@@ -1197,6 +1197,14 @@ ++ (unsigned long long)(rx_timestamp - beacon_timestamp), ++ jiffies); ++ +++ if (sdata->u.ibss.fixed_channel && +++ band == NL80211_BAND_2GHZ && +++ elems->ds_params && +++ channel->center_freq != ieee80211_channel_to_frequency(elems->ds_params[0], band)) { +++ ibss_dbg(sdata, "Reject beacon: chan %d center_freq %d beacon_freq %d\n", elems->ds_params[0], channel->center_freq, ieee80211_channel_to_frequency(elems->ds_params[0], band)); +++ goto put_bss; +++ } +++ ++ if (beacon_timestamp > rx_timestamp) { ++ ibss_dbg(sdata, ++ "beacon TSF higher than local TSF - IBSS merge with BSSID %pM\n", diff --git a/patches/series b/patches/series index 3cb474fd..0bd0984d 100644 --- a/patches/series +++ b/patches/series @@ -34,4 +34,5 @@ 748-powerbeam-m5-300-support.patch 749-copy-tiny-nodes-to-generic.patch 749-fix-tiny.patch +750-ibss-2g-fix.patch 800-upgrade-compatibility.patch