From: Greg KH To: "linux-kernel@vger.kernel.org" , "stable@kernel.org" CC: Justin Forbes , Zwane Mwaikambo , Theodore Ts'o , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , Willy Tarreau , Rodrigo Rubira Branco , Jake Edge , Eugene Teo , "torvalds@linux-foundation.org" , "akpm@linux-foundation.org" , "alan@lxorguk.ukuu.org.uk" , Luis Rodriguez , "John W. Linville" Date: Thu, 15 Jan 2009 12:00:35 -0800 Subject: [patch 87/94] ath9k: enable RXing of beacons on STA/IBSS Thread-Topic: [patch 87/94] ath9k: enable RXing of beacons on STA/IBSS Thread-Index: Acl3TEh0nmSADB4xSW2Dmn0tfBRPmQ== Message-ID: <20090115200035.GI14419@kroah.com> References: <20090115194806.804618825@mini.kroah.org> In-Reply-To: <20090115195520.GA14403@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: SC1EXHC-01.global.atheros.com X-MS-Has-Attach: X-MS-TNEF-Correlator: x-asg-debug-id: 1232049780-4b5a02110000-gUZXll x-barracuda-url: http://10.10.11.10:8000/cgi-bin/mark.cgi x-barracuda-connect: kroah.org[198.145.64.141] x-barracuda-start-time: 1232049780 x-asg-orig-subj: [patch 87/94] ath9k: enable RXing of beacons on STA/IBSS x-barracuda-virus-scanned: by Barracuda Spam Firewall at users.atheros.com x-barracuda-spam-score: 0.00 x-barracuda-spam-status: No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= x-barracuda-spam-report: Code version 3.2, rules version 3.2.1.15296 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- user-agent: Mutt/1.5.16 (2007-06-09) x-barracuda-bbl-ip: 76.105.230.205 x-barracuda-rbl-ip: 76.105.230.205 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Status: RO Content-Length: 1249 Lines: 36 2.6.28-stable review patch. If anyone has any objections, please let us kn= ow. ------------------ From: Luis R. Rodriguez commit ffb826767bffda61426d964a8fc24a216a14b0bd upstream. This enables beacons to come through on STA/IBSS. It should fix sporadic connection issues. Right now mac80211 expect beacons so give it beacons. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/ath9k/recv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c @@ -627,9 +627,8 @@ u32 ath_calcrxfilter(struct ath_softc *s rfilt &=3D ~ATH9K_RX_FILTER_UCAST; } - if (((sc->sc_ah->ah_opmode =3D=3D ATH9K_M_STA) && - (sc->rx_filter & FIF_BCN_PRBRESP_PROMISC)) || - (sc->sc_ah->ah_opmode =3D=3D ATH9K_M_IBSS)) + if (sc->sc_ah->ah_opmode =3D=3D ATH9K_M_STA || + sc->sc_ah->ah_opmode =3D=3D ATH9K_M_IBSS) rfilt |=3D ATH9K_RX_FILTER_BEACON; /* If in HOSTAP mode, want to enable reception of PSPOLL frames