wl1251: Add support for idle mode
[pandora-wifi.git] / patches / 98-add-compat-wireless.patch
1
2 This patch file includes the changes required to add
3 compat-wireless support. Besides all the patches in this
4 directory we have our own compat-2.6.*.[ch] files which
5 help backport more. These the respective compat-2.6.2x.c
6 files get compiled and enabled if you are on older kernels
7 to bring in support for new features when possible.
8
9 Lastly, the cfg80211.h change is what allows us to
10 get all compat-2.6.*.h files included. Its our only
11 point of entry through compat code. It works because
12 all drivers we are supporting through there one way
13 or another depend on cfg80211. New wireless drivers
14 are either mac80211 drivers or cfg80211 drivers, and
15 all mac80211 drivesr are cfg80211 drivers.
16
17 If your driver is not a cfg80211 driver you must
18 ensure you include compat.h then. I think we
19 added compat.h also for ssb, I forget.
20
21 --- a/include/net/cfg80211.h
22 +++ b/include/net/cfg80211.h
23 @@ -23,6 +23,7 @@
24  /* remove once we remove the wext stuff */
25  #include <net/iw_handler.h>
26  #include <linux/wireless.h>
27 +#include <linux/compat-2.6.h>
28  
29  
30  /*