linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] cfg80211/mac80211: Add 802.11d support
@ 2008-11-06 20:45 Luis R. Rodriguez
  2008-11-06 20:45 ` [PATCH v2 1/3] cfg80211: call_crda() won't tell us if CRDA was present Luis R. Rodriguez
  2008-11-07 21:02 ` [PATCH v2 0/3] cfg80211/mac80211: Add 802.11d support Johannes Berg
  0 siblings, 2 replies; 9+ messages in thread
From: Luis R. Rodriguez @ 2008-11-06 20:45 UTC (permalink / raw)
  To: johannes, johannes, linville; +Cc: Luis R. Rodriguez, linux-wireless

OK this is a respin of the missing patches taking into consideration
Johannes' comments. I've also added environmental checks now and
also changed the behaviour to always respect the first AP when
using 11d.

I've tested this with iwlagn, and with ath9k (with the beacon
filter enabled), with OLD_REG and without it set and with CRDA
present and without it. I also tested the combo:

iwlagn first, then ath9k
ath9k first, then iwlagn

Users can hint their own country before or after the 11d country IE
is parsed, but nothing more. The only case I think we can add some
more code for later is handling the case where the user gets an 11d
country IE in the US, suspends, flies to the FR and then gets an 11d
country IE there. But we can add that as we go :)

This new series changes the 11d code to mac80211 to only be 7 lines.
All the bulk work is now done in cfg80211 as we pass the country
IE and length to cfg80211 directly.

The only bug I hit was a WARN but this is not related to this code:

http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703

Oh and for the record, checkpatch will complain about the space
usage suggested in my last series but I still went with it.

11dv4/0002-cfg80211-mark-regdomains-with-NL80211_MAX_SUPP_RE.patch has no obvious style problems and is ready for submission.
ERROR: code indent should use tabs where possible
#155: FILE: include/net/wireless.h:389:
+^I^I^I        u8 *country_ie,$

ERROR: code indent should use tabs where possible
#156: FILE: include/net/wireless.h:390:
+^I^I^I        u8 country_ie_len);$


  Luis

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-11-07 21:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 20:45 [PATCH v2 0/3] cfg80211/mac80211: Add 802.11d support Luis R. Rodriguez
2008-11-06 20:45 ` [PATCH v2 1/3] cfg80211: call_crda() won't tell us if CRDA was present Luis R. Rodriguez
2008-11-06 20:45   ` [PATCH v2 2/3] cfg80211: mark regdomains with > NL80211_MAX_SUPP_REG_RULES invalid Luis R. Rodriguez
2008-11-06 20:45     ` [PATCH 3/3] cfg80211/mac80211: Add 802.11d support Luis R. Rodriguez
2008-11-06 20:56       ` Luis R. Rodriguez
2008-11-07 21:06     ` [PATCH v2 2/3] cfg80211: mark regdomains with > NL80211_MAX_SUPP_REG_RULES invalid Johannes Berg
2008-11-07 21:12       ` Luis R. Rodriguez
2008-11-07 21:05   ` [PATCH v2 1/3] cfg80211: call_crda() won't tell us if CRDA was present Johannes Berg
2008-11-07 21:02 ` [PATCH v2 0/3] cfg80211/mac80211: Add 802.11d support Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).