projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package]Ă‚base-files: don't mark /etc/banner as conffile
[openwrt.git]
/
package
/
madwifi
/
patches
/
430-use_netdev_priv.patch
diff --git
a/package/madwifi/patches/430-use_netdev_priv.patch
b/package/madwifi/patches/430-use_netdev_priv.patch
index
37a9b28
..
3f65424
100644
(file)
--- a/
package/madwifi/patches/430-use_netdev_priv.patch
+++ b/
package/madwifi/patches/430-use_netdev_priv.patch
@@
-67,7
+67,7
@@
struct ath_hal *ah = sc->sc_ah;
struct net_device *dev;
struct ath_vap *avp;
struct ath_hal *ah = sc->sc_ah;
struct net_device *dev;
struct ath_vap *avp;
-@@ -1344,7 +1344,7 @@ ath_vap_create(struct ieee80211com *ic,
+@@ -1344,7 +1344,7 @@ ath_vap_create(struct ieee80211com *ic,
return NULL;
}
return NULL;
}
@@
-175,7
+175,7
@@
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_channel *c;
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_channel *c;
-@@ -3164,7 +3164,7 @@ dot11_to_ratecode(struct ath_softc *sc,
+@@ -3164,7 +3164,7 @@ dot11_to_ratecode(struct ath_softc *sc,
static int
ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb)
{
static int
ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb)
{
@@
-372,7
+372,7
@@
#ifdef AR_DEBUG
struct ieee80211_frame *wh = (struct ieee80211_frame *)skb->data;
#endif
#ifdef AR_DEBUG
struct ieee80211_frame *wh = (struct ieee80211_frame *)skb->data;
#endif
-@@ -6780,7 +6780,7 @@ ath_rx_poll(struct net_device *dev, int
+@@ -6780,7 +6780,7 @@ ath_rx_poll(struct net_device *dev, int
struct net_device *dev = sc->sc_dev;
int rx_limit = budget;
#else
struct net_device *dev = sc->sc_dev;
int rx_limit = budget;
#else
@@
-381,7
+381,7
@@
int rx_limit = min(dev->quota, *budget);
#endif
struct ath_buf *bf;
int rx_limit = min(dev->quota, *budget);
#endif
struct ath_buf *bf;
-@@ -730
2,7 +7302
,7 @@ static void ath_grppoll_start(struct iee
+@@ -730
5,7 +7305
,7 @@ static void ath_grppoll_start(struct iee
struct sk_buff *skb = NULL;
struct ath_buf *bf, *head = NULL;
struct ieee80211com *ic = vap->iv_ic;
struct sk_buff *skb = NULL;
struct ath_buf *bf, *head = NULL;
struct ieee80211com *ic = vap->iv_ic;
@@
-390,7
+390,7
@@
struct ath_hal *ah = sc->sc_ah;
u_int8_t rate;
unsigned int ctsrate = 0, ctsduration = 0;
struct ath_hal *ah = sc->sc_ah;
u_int8_t rate;
unsigned int ctsrate = 0, ctsduration = 0;
-@@ -752
0,7 +7520
,7 @@ static void ath_grppoll_start(struct iee
+@@ -752
3,7 +7523
,7 @@ static void ath_grppoll_start(struct iee
static void ath_grppoll_stop(struct ieee80211vap *vap)
{
struct ieee80211com *ic = vap->iv_ic;
static void ath_grppoll_stop(struct ieee80211vap *vap)
{
struct ieee80211com *ic = vap->iv_ic;
@@
-399,7
+399,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ath_txq *txq = &sc->sc_grpplq;
struct ath_buf *bf;
struct ath_hal *ah = sc->sc_ah;
struct ath_txq *txq = &sc->sc_grpplq;
struct ath_buf *bf;
-@@ -773
2,7 +7732
,7 @@ ath_txq_update(struct ath_softc *sc, str
+@@ -773
5,7 +7735
,7 @@ ath_txq_update(struct ath_softc *sc, str
static int
ath_wme_update(struct ieee80211com *ic)
{
static int
ath_wme_update(struct ieee80211com *ic)
{
@@
-408,7
+408,7
@@
if (sc->sc_uapsdq)
ath_txq_update(sc, sc->sc_uapsdq, WME_AC_VO);
if (sc->sc_uapsdq)
ath_txq_update(sc, sc->sc_uapsdq, WME_AC_VO);
-@@ -775
1,7 +7751
,7 @@ ath_uapsd_flush(struct ieee80211_node *n
+@@ -775
4,7 +7754
,7 @@ ath_uapsd_flush(struct ieee80211_node *n
{
struct ath_node *an = ATH_NODE(ni);
struct ath_buf *bf;
{
struct ath_node *an = ATH_NODE(ni);
struct ath_buf *bf;
@@
-417,7
+417,7
@@
struct ath_txq *txq;
ATH_NODE_UAPSD_LOCK_IRQ(an);
struct ath_txq *txq;
ATH_NODE_UAPSD_LOCK_IRQ(an);
-@@ -794
2,7 +7942
,7 @@ ath_tx_start(struct net_device *dev, str
+@@ -794
5,7 +7945
,7 @@ ath_tx_start(struct net_device *dev, str
struct ath_buf *bf, struct sk_buff *skb, int nextfraglen)
{
#define MIN(a,b) ((a) < (b) ? (a) : (b))
struct ath_buf *bf, struct sk_buff *skb, int nextfraglen)
{
#define MIN(a,b) ((a) < (b) ? (a) : (b))
@@
-426,7
+426,7
@@
struct ieee80211com *ic = ni->ni_ic;
struct ieee80211vap *vap = ni->ni_vap;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = ni->ni_ic;
struct ieee80211vap *vap = ni->ni_vap;
struct ath_hal *ah = sc->sc_ah;
-@@ -885
1,7 +8851
,7 @@ static void
+@@ -885
4,7 +8854
,7 @@ static void
ath_tx_tasklet_q0(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
ath_tx_tasklet_q0(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
@@
-435,7
+435,7
@@
unsigned long flags;
process_tx_again:
unsigned long flags;
process_tx_again:
-@@ -888
2,7 +8882
,7 @@ static void
+@@ -888
5,7 +8885
,7 @@ static void
ath_tx_tasklet_q0123(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
ath_tx_tasklet_q0123(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
@@
-444,7
+444,7
@@
unsigned long flags;
process_tx_again:
unsigned long flags;
process_tx_again:
-@@ -89
27,7 +8927
,7 @@ static void
+@@ -89
30,7 +8930
,7 @@ static void
ath_tx_tasklet(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
ath_tx_tasklet(TQUEUE_ARG data)
{
struct net_device *dev = (struct net_device *)data;
@@
-453,7
+453,7
@@
unsigned int i;
unsigned long flags;
unsigned int i;
unsigned long flags;
-@@ -895
5,7 +8955
,7 @@ process_tx_again:
+@@ -895
8,7 +8958
,7 @@ process_tx_again:
static void
ath_tx_timeout(struct net_device *dev)
{
static void
ath_tx_timeout(struct net_device *dev)
{
@@
-462,7
+462,7
@@
if (ath_chan_unavail(sc))
return;
if (ath_chan_unavail(sc))
return;
-@@ -936
3,7 +9363
,7 @@ static void
+@@ -936
6,7 +9366
,7 @@ static void
ath_calibrate(unsigned long arg)
{
struct net_device *dev = (struct net_device *)arg;
ath_calibrate(unsigned long arg)
{
struct net_device *dev = (struct net_device *)arg;
@@
-471,7
+471,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
/* u_int32_t nchans; */
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
/* u_int32_t nchans; */
-@@ -94
38,7 +9438
,7 @@ static void
+@@ -94
41,7 +9441
,7 @@ static void
ath_scan_start(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_scan_start(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-480,7
+480,7
@@
struct ath_hal *ah = sc->sc_ah;
u_int32_t rfilt;
struct ath_hal *ah = sc->sc_ah;
u_int32_t rfilt;
-@@ -94
58,7 +9458
,7 @@ static void
+@@ -94
61,7 +9461
,7 @@ static void
ath_scan_end(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_scan_end(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-489,7
+489,7
@@
struct ath_hal *ah = sc->sc_ah;
u_int32_t rfilt;
struct ath_hal *ah = sc->sc_ah;
u_int32_t rfilt;
-@@ -947
6,7 +9476
,7 @@ static void
+@@ -947
9,7 +9479
,7 @@ static void
ath_set_channel(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_set_channel(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-498,7
+498,7
@@
(void) ath_chan_set(sc, ic->ic_curchan);
ic->ic_channoise = ath_hal_get_channel_noise(sc->sc_ah, &(sc->sc_curchan));
(void) ath_chan_set(sc, ic->ic_curchan);
ic->ic_channoise = ath_hal_get_channel_noise(sc->sc_ah, &(sc->sc_curchan));
-@@ -949
3,7 +9493
,7 @@ ath_set_channel(struct ieee80211com *ic)
+@@ -949
6,7 +9496
,7 @@ ath_set_channel(struct ieee80211com *ic)
static void
ath_set_coverageclass(struct ieee80211com *ic)
{
static void
ath_set_coverageclass(struct ieee80211com *ic)
{
@@
-507,7
+507,7
@@
sc->sc_coverage = ic->ic_coverageclass * 3;
ath_set_timing(sc);
sc->sc_coverage = ic->ic_coverageclass * 3;
ath_set_timing(sc);
-@@ -950
4,7 +9504
,7 @@ ath_set_coverageclass(struct ieee80211co
+@@ -950
7,7 +9507
,7 @@ ath_set_coverageclass(struct ieee80211co
static u_int
ath_mhz2ieee(struct ieee80211com *ic, u_int freq, u_int flags)
{
static u_int
ath_mhz2ieee(struct ieee80211com *ic, u_int freq, u_int flags)
{
@@
-516,7
+516,7
@@
return (ath_hal_mhz2ieee(sc->sc_ah, freq, flags));
}
return (ath_hal_mhz2ieee(sc->sc_ah, freq, flags));
}
-@@ -95
19,7 +9519
,7 @@ ath_newstate(struct ieee80211vap *vap, e
+@@ -95
22,7 +9522
,7 @@ ath_newstate(struct ieee80211vap *vap, e
struct ath_vap *avp = ATH_VAP(vap);
struct ieee80211com *ic = vap->iv_ic;
struct net_device *dev = ic->ic_dev;
struct ath_vap *avp = ATH_VAP(vap);
struct ieee80211com *ic = vap->iv_ic;
struct net_device *dev = ic->ic_dev;
@@
-525,7
+525,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_node *ni, *wds_ni;
unsigned int i;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_node *ni, *wds_ni;
unsigned int i;
-@@ -99
59,7 +9959
,7 @@ ath_setup_comp(struct ieee80211_node *ni
+@@ -99
62,7 +9962
,7 @@ ath_setup_comp(struct ieee80211_node *ni
{
#define IEEE80211_KEY_XR (IEEE80211_KEY_XMIT | IEEE80211_KEY_RECV)
struct ieee80211vap *vap = ni->ni_vap;
{
#define IEEE80211_KEY_XR (IEEE80211_KEY_XMIT | IEEE80211_KEY_RECV)
struct ieee80211vap *vap = ni->ni_vap;
@@
-534,7
+534,7
@@
struct ath_node *an = ATH_NODE(ni);
ieee80211_keyix_t keyix;
struct ath_node *an = ATH_NODE(ni);
ieee80211_keyix_t keyix;
-@@ -1001
3,7 +10013
,7 @@ static void
+@@ -1001
6,7 +10016
,7 @@ static void
ath_setup_stationkey(struct ieee80211_node *ni)
{
struct ieee80211vap *vap = ni->ni_vap;
ath_setup_stationkey(struct ieee80211_node *ni)
{
struct ieee80211vap *vap = ni->ni_vap;
@@
-543,7
+543,7
@@
ieee80211_keyix_t keyix;
keyix = ath_key_alloc(vap, &ni->ni_ucastkey);
ieee80211_keyix_t keyix;
keyix = ath_key_alloc(vap, &ni->ni_ucastkey);
-@@ -1017
4,7 +10174,7 @@ ath_newassoc(struct ieee80211_node *ni,
+@@ -1017
7,7 +10177,7 @@ ath_newassoc(struct ieee80211_node *ni,
{
struct ieee80211com *ic = ni->ni_ic;
struct ieee80211vap *vap = ni->ni_vap;
{
struct ieee80211com *ic = ni->ni_ic;
struct ieee80211vap *vap = ni->ni_vap;
@@
-552,7
+552,7
@@
sc->sc_rc->ops->newassoc(sc, ATH_NODE(ni), isnew);
ath_wprobe_node_join(ni->ni_vap, ni);
sc->sc_rc->ops->newassoc(sc, ATH_NODE(ni), isnew);
ath_wprobe_node_join(ni->ni_vap, ni);
-@@ -1020
5,7 +10205,7 @@ ath_newassoc(struct ieee80211_node *ni,
+@@ -1020
8,7 +10208,7 @@ ath_newassoc(struct ieee80211_node *ni,
static int
ath_getchannels(struct net_device *dev)
{
static int
ath_getchannels(struct net_device *dev)
{
@@
-561,7
+561,7
@@
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
HAL_CHANNEL *chans;
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
HAL_CHANNEL *chans;
-@@ -1048
2,7 +10482
,7 @@ ath_update_txpow(struct ath_softc *sc)
+@@ -1048
5,7 +10485
,7 @@ ath_update_txpow(struct ath_softc *sc)
static int
ath_xr_rate_setup(struct net_device *dev)
{
static int
ath_xr_rate_setup(struct net_device *dev)
{
@@
-570,7
+570,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
const HAL_RATE_TABLE *rt;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
const HAL_RATE_TABLE *rt;
-@@ -1051
3,7 +10513
,7 @@ ath_xr_rate_setup(struct net_device *dev
+@@ -1051
6,7 +10516
,7 @@ ath_xr_rate_setup(struct net_device *dev
static int
ath_rate_setup(struct net_device *dev, u_int mode)
{
static int
ath_rate_setup(struct net_device *dev, u_int mode)
{
@@
-579,7
+579,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
const HAL_RATE_TABLE *rt;
struct ath_hal *ah = sc->sc_ah;
struct ieee80211com *ic = &sc->sc_ic;
const HAL_RATE_TABLE *rt;
-@@ -1076
0,7 +10760
,7 @@ ath_printtxbuf(const struct ath_buf *bf,
+@@ -1076
3,7 +10763
,7 @@ ath_printtxbuf(const struct ath_buf *bf,
{
const struct ath_tx_status *ts = &bf->bf_dsstatus.ds_txstat;
const struct ath_desc *ds = bf->bf_desc;
{
const struct ath_tx_status *ts = &bf->bf_dsstatus.ds_txstat;
const struct ath_desc *ds = bf->bf_desc;
@@
-588,7
+588,7
@@
u_int8_t status = done ? ts->ts_status : 0;
DPRINTF(sc, ATH_DEBUG_ANY,
u_int8_t status = done ? ts->ts_status : 0;
DPRINTF(sc, ATH_DEBUG_ANY,
-@@ -107
87,7 +10787
,7 @@ ath_printtxbuf(const struct ath_buf *bf,
+@@ -107
90,7 +10790
,7 @@ ath_printtxbuf(const struct ath_buf *bf,
static struct net_device_stats *
ath_getstats(struct net_device *dev)
{
static struct net_device_stats *
ath_getstats(struct net_device *dev)
{
@@
-597,7
+597,7
@@
struct net_device_stats *stats = &sc->sc_devstats;
/* update according to private statistics */
struct net_device_stats *stats = &sc->sc_devstats;
/* update according to private statistics */
-@@ -1081
0,7 +10810
,7 @@ ath_getstats(struct net_device *dev)
+@@ -1081
3,7 +10813
,7 @@ ath_getstats(struct net_device *dev)
static int
ath_set_mac_address(struct net_device *dev, void *addr)
{
static int
ath_set_mac_address(struct net_device *dev, void *addr)
{
@@
-606,7
+606,7
@@
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
struct sockaddr *mac = addr;
struct ieee80211com *ic = &sc->sc_ic;
struct ath_hal *ah = sc->sc_ah;
struct sockaddr *mac = addr;
-@@ -108
39,7 +10839
,7 @@ ath_set_mac_address(struct net_device *d
+@@ -108
42,7 +10842
,7 @@ ath_set_mac_address(struct net_device *d
static int
ath_change_mtu(struct net_device *dev, int mtu)
{
static int
ath_change_mtu(struct net_device *dev, int mtu)
{
@@
-615,7
+615,7
@@
int error = 0;
if (!(ATH_MIN_MTU < mtu && mtu <= ATH_MAX_MTU)) {
int error = 0;
if (!(ATH_MIN_MTU < mtu && mtu <= ATH_MAX_MTU)) {
-@@ -1092
6,7 +10926
,7 @@ bad:
+@@ -1092
9,7 +10929
,7 @@ bad:
static int
ath_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
static int
ath_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
@@
-624,7
+624,7
@@
struct ieee80211com *ic = &sc->sc_ic;
int error;
struct ieee80211com *ic = &sc->sc_ic;
int error;
-@@ -118
07,7 +11807
,7 @@ static void
+@@ -118
10,7 +11810
,7 @@ static void
ath_announce(struct net_device *dev)
{
#define HAL_MODE_DUALBAND (HAL_MODE_11A|HAL_MODE_11B)
ath_announce(struct net_device *dev)
{
#define HAL_MODE_DUALBAND (HAL_MODE_11A|HAL_MODE_11B)
@@
-633,7
+633,7
@@
struct ath_hal *ah = sc->sc_ah;
u_int modes, cc;
static const int MLEN = 1024;
struct ath_hal *ah = sc->sc_ah;
u_int modes, cc;
static const int MLEN = 1024;
-@@ -1199
4,7 +11994
,7 @@ static void
+@@ -1199
7,7 +11997
,7 @@ static void
txcont_configure_radio(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
txcont_configure_radio(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-642,7
+642,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_wme_state *wme = &ic->ic_wme;
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
struct ath_hal *ah = sc->sc_ah;
struct ieee80211_wme_state *wme = &ic->ic_wme;
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
-@@ -122
68,7 +12268
,7 @@ static void
+@@ -122
71,7 +12271
,7 @@ static void
txcont_queue_packet(struct ieee80211com *ic, struct ath_txq* txq)
{
struct net_device *dev = ic->ic_dev;
txcont_queue_packet(struct ieee80211com *ic, struct ath_txq* txq)
{
struct net_device *dev = ic->ic_dev;
@@
-651,7
+651,7
@@
struct ath_hal *ah = sc->sc_ah;
struct ath_buf *bf = NULL;
struct sk_buff *skb = NULL;
struct ath_hal *ah = sc->sc_ah;
struct ath_buf *bf = NULL;
struct sk_buff *skb = NULL;
-@@ -1240
1,7 +12401
,7 @@ static void
+@@ -1240
4,7 +12404
,7 @@ static void
txcont_on(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
txcont_on(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-660,7
+660,7
@@
if (IFF_RUNNING != (ic->ic_dev->flags & IFF_RUNNING)) {
EPRINTF(sc, "Cannot enable txcont when"
if (IFF_RUNNING != (ic->ic_dev->flags & IFF_RUNNING)) {
EPRINTF(sc, "Cannot enable txcont when"
-@@ -1242
2,7 +12422
,7 @@ static void
+@@ -1242
5,7 +12425
,7 @@ static void
txcont_off(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
txcont_off(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-669,7
+669,7
@@
if (TAILQ_FIRST(&ic->ic_vaps)->iv_opmode != IEEE80211_M_WDS)
sc->sc_beacons = 1;
if (TAILQ_FIRST(&ic->ic_vaps)->iv_opmode != IEEE80211_M_WDS)
sc->sc_beacons = 1;
-@@ -1243
6,7 +12436
,7 @@ static int
+@@ -1243
9,7 +12439
,7 @@ static int
ath_get_dfs_testmode(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_dfs_testmode(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-678,7
+678,7
@@
return sc->sc_dfs_testmode;
}
return sc->sc_dfs_testmode;
}
-@@ -1246
3,7 +12463
,7 @@ static void
+@@ -1246
6,7 +12466
,7 @@ static void
ath_set_dfs_testmode(struct ieee80211com *ic, int value)
{
struct net_device *dev = ic->ic_dev;
ath_set_dfs_testmode(struct ieee80211com *ic, int value)
{
struct net_device *dev = ic->ic_dev;
@@
-687,7
+687,7
@@
sc->sc_dfs_testmode = !!value;
}
sc->sc_dfs_testmode = !!value;
}
-@@ -1247
3,7 +12473
,7 @@ static int
+@@ -1247
6,7 +12476
,7 @@ static int
ath_get_txcont(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_txcont(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-696,7
+696,7
@@
return sc->sc_txcont;
}
return sc->sc_txcont;
}
-@@ -1249
1,7 +12491
,7 @@ static void
+@@ -1249
4,7 +12494
,7 @@ static void
ath_set_txcont_power(struct ieee80211com *ic, unsigned int txpower)
{
struct net_device *dev = ic->ic_dev;
ath_set_txcont_power(struct ieee80211com *ic, unsigned int txpower)
{
struct net_device *dev = ic->ic_dev;
@@
-705,7
+705,7
@@
int new_txcont_power = txpower > IEEE80211_TXPOWER_MAX ?
IEEE80211_TXPOWER_MAX : txpower;
if (sc->sc_txcont_power != new_txcont_power) {
int new_txcont_power = txpower > IEEE80211_TXPOWER_MAX ?
IEEE80211_TXPOWER_MAX : txpower;
if (sc->sc_txcont_power != new_txcont_power) {
-@@ -125
09,7 +12509
,7 @@ static int
+@@ -125
12,7 +12512
,7 @@ static int
ath_get_txcont_power(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_txcont_power(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-714,7
+714,7
@@
/* VERY conservative default */
return sc->sc_txcont_power ? sc->sc_txcont_power : 0;
}
/* VERY conservative default */
return sc->sc_txcont_power ? sc->sc_txcont_power : 0;
}
-@@ -125
19,7 +12519
,7 @@ ath_get_txcont_power(struct ieee80211com
+@@ -125
22,7 +12522
,7 @@ ath_get_txcont_power(struct ieee80211com
ath_set_txcont_rate(struct ieee80211com *ic, unsigned int new_rate)
{
struct net_device *dev = ic->ic_dev;
ath_set_txcont_rate(struct ieee80211com *ic, unsigned int new_rate)
{
struct net_device *dev = ic->ic_dev;
@@
-723,7
+723,7
@@
if (sc->sc_txcont_rate != new_rate) {
/* NOTE: This value is sanity checked and dropped down to
* closest rate in txcont_on. */
if (sc->sc_txcont_rate != new_rate) {
/* NOTE: This value is sanity checked and dropped down to
* closest rate in txcont_on. */
-@@ -1253
6,7 +12536,7 @@ ath_set_txcont_rate(struct ieee80211com
+@@ -1253
9,7 +12539,7 @@ ath_set_txcont_rate(struct ieee80211com
ath_get_txcont_rate(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_txcont_rate(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-732,7
+732,7
@@
return sc->sc_txcont_rate ? sc->sc_txcont_rate : 0;
}
return sc->sc_txcont_rate ? sc->sc_txcont_rate : 0;
}
-@@ -1254
6,7 +12546
,7 @@ static void
+@@ -1254
9,7 +12549
,7 @@ static void
ath_set_dfs_cac_time(struct ieee80211com *ic, unsigned int time_s)
{
struct net_device *dev = ic->ic_dev;
ath_set_dfs_cac_time(struct ieee80211com *ic, unsigned int time_s)
{
struct net_device *dev = ic->ic_dev;
@@
-741,7
+741,7
@@
sc->sc_dfs_cac_period = time_s;
}
sc->sc_dfs_cac_period = time_s;
}
-@@ -1255
6,7 +12556
,7 @@ static unsigned int
+@@ -1255
9,7 +12559
,7 @@ static unsigned int
ath_get_dfs_cac_time(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_dfs_cac_time(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-750,7
+750,7
@@
return sc->sc_dfs_cac_period;
}
return sc->sc_dfs_cac_period;
}
-@@ -1257
6,7 +12576
,7 @@ static void
+@@ -1257
9,7 +12579
,7 @@ static void
ath_set_dfs_excl_period(struct ieee80211com *ic, unsigned int time_s)
{
struct net_device *dev = ic->ic_dev;
ath_set_dfs_excl_period(struct ieee80211com *ic, unsigned int time_s)
{
struct net_device *dev = ic->ic_dev;
@@
-759,7
+759,7
@@
sc->sc_dfs_excl_period = time_s;
}
sc->sc_dfs_excl_period = time_s;
}
-@@ -1258
5,7 +12585
,7 @@ static unsigned int
+@@ -1258
8,7 +12588
,7 @@ static unsigned int
ath_get_dfs_excl_period(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_get_dfs_excl_period(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-768,7
+768,7
@@
return sc->sc_dfs_excl_period;
}
return sc->sc_dfs_excl_period;
}
-@@ -12
597,7 +12597
,7 @@ static unsigned int
+@@ -12
600,7 +12600
,7 @@ static unsigned int
ath_test_radar(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_test_radar(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-777,7
+777,7
@@
if ((ic->ic_flags & IEEE80211_F_DOTH) && (sc->sc_curchan.privFlags & CHANNEL_DFS))
ath_radar_detected(sc, "ath_test_radar from user space");
else
if ((ic->ic_flags & IEEE80211_F_DOTH) && (sc->sc_curchan.privFlags & CHANNEL_DFS))
ath_radar_detected(sc, "ath_test_radar from user space");
else
-@@ -1261
3,7 +12613
,7 @@ static unsigned int
+@@ -1261
6,7 +12616
,7 @@ static unsigned int
ath_dump_hal_map(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_dump_hal_map(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-786,7
+786,7
@@
ath_hal_dump_map(sc->sc_ah);
return 0;
}
ath_hal_dump_map(sc->sc_ah);
return 0;
}
-@@ -1272
1,7 +12721,7 @@ ath_rcv_dev_event(struct notifier_block
+@@ -1272
4,7 +12724,7 @@ ath_rcv_dev_event(struct notifier_block
void *ptr)
{
struct net_device *dev = (struct net_device *)ptr;
void *ptr)
{
struct net_device *dev = (struct net_device *)ptr;
@@
-795,7
+795,7
@@
if (!dev || !sc || dev->open != &ath_init)
return 0;
if (!dev || !sc || dev->open != &ath_init)
return 0;
-@@ -1345
6,7 +13456
,7 @@ static unsigned int
+@@ -1345
9,7 +13459
,7 @@ static unsigned int
ath_read_register(struct ieee80211com *ic, unsigned int address,
unsigned int* value)
{
ath_read_register(struct ieee80211com *ic, unsigned int address,
unsigned int* value)
{
@@
-804,7
+804,7
@@
if (address >= MAX_REGISTER_ADDRESS) {
IPRINTF(sc, "Illegal Atheros register access "
"attempted: 0x%04x >= 0x%04x\n",
if (address >= MAX_REGISTER_ADDRESS) {
IPRINTF(sc, "Illegal Atheros register access "
"attempted: 0x%04x >= 0x%04x\n",
-@@ -1348
6,7 +13486
,7 @@ static unsigned int
+@@ -1348
9,7 +13489
,7 @@ static unsigned int
ath_write_register(struct ieee80211com *ic, unsigned int address,
unsigned int value)
{
ath_write_register(struct ieee80211com *ic, unsigned int address,
unsigned int value)
{
@@
-813,7
+813,7
@@
if (address >= MAX_REGISTER_ADDRESS) {
IPRINTF(sc, "Illegal Atheros register access "
"attempted: 0x%04x >= 0x%04x\n",
if (address >= MAX_REGISTER_ADDRESS) {
IPRINTF(sc, "Illegal Atheros register access "
"attempted: 0x%04x >= 0x%04x\n",
-@@ -1351
4,7 +13514
,7 @@ static void
+@@ -1351
7,7 +13517
,7 @@ static void
ath_registers_dump(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_registers_dump(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-822,7
+822,7
@@
ath_ar5212_registers_dump(sc);
}
#endif /* #ifdef ATH_REVERSE_ENGINEERING */
ath_ar5212_registers_dump(sc);
}
#endif /* #ifdef ATH_REVERSE_ENGINEERING */
-@@ -1352
6,7 +13526
,7 @@ static void
+@@ -1352
9,7 +13529
,7 @@ static void
ath_registers_mark(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_registers_mark(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-831,7
+831,7
@@
ath_ar5212_registers_mark(sc);
}
#endif /* #ifdef ATH_REVERSE_ENGINEERING */
ath_ar5212_registers_mark(sc);
}
#endif /* #ifdef ATH_REVERSE_ENGINEERING */
-@@ -135
38,7 +13538
,7 @@ static void
+@@ -135
41,7 +13541
,7 @@ static void
ath_registers_dump_delta(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
ath_registers_dump_delta(struct ieee80211com *ic)
{
struct net_device *dev = ic->ic_dev;
@@
-938,7
+938,7
@@
}
}
}
}
-@@ -822,7 +822,7 @@ ath_proc_read_nodes(struct ieee80211vap
+@@ -822,7 +822,7 @@ ath_proc_read_nodes(struct ieee80211vap
unsigned int x = 0;
unsigned int this_tp, this_prob, this_eprob;
#ifdef AR_DEBUG
unsigned int x = 0;
unsigned int this_tp, this_prob, this_eprob;
#ifdef AR_DEBUG
@@
-1002,7
+1002,7
@@
#define skb_tail_pointer(_skb) ((_skb)->tail)
--- a/net80211/ieee80211.c
+++ b/net80211/ieee80211.c
#define skb_tail_pointer(_skb) ((_skb)->tail)
--- a/net80211/ieee80211.c
+++ b/net80211/ieee80211.c
-@@ -45
7,7 +457,7 @@ ieee80211_vap_setup(struct ieee80211com
+@@ -45
8,7 +458,7 @@ ieee80211_vap_setup(struct ieee80211com
#define IEEE80211_C_OPMODE \
(IEEE80211_C_IBSS | IEEE80211_C_HOSTAP | IEEE80211_C_AHDEMO | \
IEEE80211_C_MONITOR)
#define IEEE80211_C_OPMODE \
(IEEE80211_C_IBSS | IEEE80211_C_HOSTAP | IEEE80211_C_AHDEMO | \
IEEE80211_C_MONITOR)
@@
-1011,7
+1011,7
@@
struct net_device *parent = ic->ic_dev;
int err;
struct net_device *parent = ic->ic_dev;
int err;
-@@ -135
4,7 +1354
,7 @@ media_status(enum ieee80211_opmode opmod
+@@ -135
5,7 +1355
,7 @@ media_status(enum ieee80211_opmode opmod
static void
ieee80211com_media_status(struct net_device *dev, struct ifmediareq *imr)
{
static void
ieee80211com_media_status(struct net_device *dev, struct ifmediareq *imr)
{
@@
-1020,7
+1020,7
@@
imr->ifm_status = IFM_AVALID;
if (!TAILQ_EMPTY(&ic->ic_vaps))
imr->ifm_status = IFM_AVALID;
if (!TAILQ_EMPTY(&ic->ic_vaps))
-@@ -140
6,7 +1406
,7 @@ media2mode(const struct ifmedia_entry *i
+@@ -140
7,7 +1407
,7 @@ media2mode(const struct ifmedia_entry *i
static int
ieee80211com_media_change(struct net_device *dev)
{
static int
ieee80211com_media_change(struct net_device *dev)
{
@@
-1029,7
+1029,7
@@
struct ieee80211vap *vap;
struct ifmedia_entry *ime = ic->ic_media.ifm_cur;
enum ieee80211_phymode newphymode;
struct ieee80211vap *vap;
struct ifmedia_entry *ime = ic->ic_media.ifm_cur;
enum ieee80211_phymode newphymode;
-@@ -151
0,7 +1510,7 @@ checkrate(struct ieee80211com *ic, enum
+@@ -151
1,7 +1511,7 @@ checkrate(struct ieee80211com *ic, enum
int
ieee80211_media_change(struct net_device *dev)
{
int
ieee80211_media_change(struct net_device *dev)
{
@@
-1038,7
+1038,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ifmedia_entry *ime = vap->iv_media.ifm_cur;
enum ieee80211_phymode newmode;
struct ieee80211com *ic = vap->iv_ic;
struct ifmedia_entry *ime = vap->iv_media.ifm_cur;
enum ieee80211_phymode newmode;
-@@ -154
4,7 +1544
,7 @@ EXPORT_SYMBOL(ieee80211_media_change);
+@@ -154
5,7 +1545
,7 @@ EXPORT_SYMBOL(ieee80211_media_change);
void
ieee80211_media_status(struct net_device *dev, struct ifmediareq *imr)
{
void
ieee80211_media_status(struct net_device *dev, struct ifmediareq *imr)
{
@@
-1047,7
+1047,7
@@
struct ieee80211com *ic = vap->iv_ic;
enum ieee80211_phymode mode;
struct ieee80211_rateset *rs;
struct ieee80211com *ic = vap->iv_ic;
enum ieee80211_phymode mode;
struct ieee80211_rateset *rs;
-@@ -175
0,7 +1750
,7 @@ EXPORT_SYMBOL(ieee80211_media2rate);
+@@ -175
1,7 +1751
,7 @@ EXPORT_SYMBOL(ieee80211_media2rate);
static struct net_device_stats *
ieee80211_getstats(struct net_device *dev)
{
static struct net_device_stats *
ieee80211_getstats(struct net_device *dev)
{
@@
-1056,7
+1056,7
@@
struct net_device_stats *stats = &vap->iv_devstats;
/* XXX: Total guess as to what to count where */
struct net_device_stats *stats = &vap->iv_devstats;
/* XXX: Total guess as to what to count where */
-@@ -17
89,7 +1789
,7 @@ ieee80211_change_mtu(struct net_device *
+@@ -17
90,7 +1790
,7 @@ ieee80211_change_mtu(struct net_device *
static void
ieee80211_set_multicast_list(struct net_device *dev)
{
static void
ieee80211_set_multicast_list(struct net_device *dev)
{
@@
-1136,7
+1136,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct net_device *parent = ic->ic_dev;
struct ieee80211com *ic = vap->iv_ic;
struct net_device *parent = ic->ic_dev;
-@@ -108
1,7 +1081
,7 @@ ieee80211_init(struct net_device *dev, i
+@@ -108
7,7 +1087
,7 @@ ieee80211_init(struct net_device *dev, i
int
ieee80211_open(struct net_device *dev)
{
int
ieee80211_open(struct net_device *dev)
{
@@
-1145,7
+1145,7
@@
return ieee80211_init(dev, 0);
}
return ieee80211_init(dev, 0);
}
-@@ -11
25,7 +1125
,7 @@ EXPORT_SYMBOL(ieee80211_start_running);
+@@ -11
31,7 +1131
,7 @@ EXPORT_SYMBOL(ieee80211_start_running);
int
ieee80211_stop(struct net_device *dev)
{
int
ieee80211_stop(struct net_device *dev)
{
@@
-1327,7
+1327,7
@@
if (vap->iv_opmode == IEEE80211_M_WDS)
return -EOPNOTSUPP;
if (vap->iv_opmode == IEEE80211_M_WDS)
return -EOPNOTSUPP;
-@@ -8
84,7 +884
,7 @@ static int
+@@ -8
99,7 +899
,7 @@ static int
ieee80211_ioctl_giwrange(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_giwrange(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1336,7
+1336,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni = vap->iv_bss;
struct iw_range *range = (struct iw_range *) extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni = vap->iv_bss;
struct iw_range *range = (struct iw_range *) extra;
-@@ -10
34,7 +1034
,7 @@ ieee80211_ioctl_setspy(struct net_device
+@@ -10
47,7 +1047
,7 @@ ieee80211_ioctl_setspy(struct net_device
struct iw_point *data, char *extra)
{
/* save the list of node addresses */
struct iw_point *data, char *extra)
{
/* save the list of node addresses */
@@
-1345,7
+1345,7
@@
struct sockaddr address[IW_MAX_SPY];
unsigned int number = data->length;
int i;
struct sockaddr address[IW_MAX_SPY];
unsigned int number = data->length;
int i;
-@@ -10
72,7 +1072
,7 @@ ieee80211_ioctl_getspy(struct net_device
+@@ -10
85,7 +1085
,7 @@ ieee80211_ioctl_getspy(struct net_device
* locate nodes by mac (ieee80211_find_node()),
* copy out rssi, set updated flag appropriately
*/
* locate nodes by mac (ieee80211_find_node()),
* copy out rssi, set updated flag appropriately
*/
@@
-1354,7
+1354,7
@@
struct ieee80211_node_table *nt = &vap->iv_ic->ic_sta;
struct ieee80211_node *ni;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node_table *nt = &vap->iv_ic->ic_sta;
struct ieee80211_node *ni;
struct ieee80211com *ic = vap->iv_ic;
-@@ -11
20,7 +1120
,7 @@ static int
+@@ -11
33,7 +1133
,7 @@ static int
ieee80211_ioctl_setthrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_setthrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1363,7
+1363,7
@@
struct iw_thrspy threshold;
if (data->length != 1)
struct iw_thrspy threshold;
if (data->length != 1)
-@@ -11
57,7 +1157
,7 @@ static int
+@@ -11
70,7 +1170
,7 @@ static int
ieee80211_ioctl_getthrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_getthrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1372,7
+1372,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct iw_thrspy *threshold;
struct ieee80211com *ic = vap->iv_ic;
struct iw_thrspy *threshold;
-@@ -11
78,7 +1178
,7 @@ static int
+@@ -11
91,7 +1191
,7 @@ static int
ieee80211_ioctl_siwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *mode, char *extra)
{
ieee80211_ioctl_siwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *mode, char *extra)
{
@@
-1381,7
+1381,7
@@
struct ifmediareq imr;
int valid = 0;
struct ifmediareq imr;
int valid = 0;
-@@ -12
03,7 +1203
,7 @@ static int
+@@ -12
16,7 +1216
,7 @@ static int
ieee80211_ioctl_giwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *mode, char *extra)
{
ieee80211_ioctl_giwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *mode, char *extra)
{
@@
-1390,7
+1390,7
@@
struct ifmediareq imr;
memset(&imr, 0, sizeof(imr));
struct ifmediareq imr;
memset(&imr, 0, sizeof(imr));
-@@ -12
26,7 +1226
,7 @@ static int
+@@ -12
39,7 +1239
,7 @@ static int
ieee80211_ioctl_siwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra)
{
ieee80211_ioctl_siwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra)
{
@@
-1399,7
+1399,7
@@
struct ieee80211com *ic = vap->iv_ic;
/* XXX: These values, flags, and caps do not seem to be used elsewhere
struct ieee80211com *ic = vap->iv_ic;
/* XXX: These values, flags, and caps do not seem to be used elsewhere
-@@ -12
65,7 +1265
,7 @@ static int
+@@ -12
78,7 +1278
,7 @@ static int
ieee80211_ioctl_giwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
ieee80211_ioctl_giwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
@@
-1408,7
+1408,7
@@
struct ieee80211com *ic = vap->iv_ic;
rrq->disabled = (ic->ic_flags & IEEE80211_F_PMGTON) == 0;
struct ieee80211com *ic = vap->iv_ic;
rrq->disabled = (ic->ic_flags & IEEE80211_F_PMGTON) == 0;
-@@ -1
289,7 +1289
,7 @@ static int
+@@ -1
302,7 +1302
,7 @@ static int
ieee80211_ioctl_siwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
ieee80211_ioctl_siwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
@@
-1417,7
+1417,7
@@
struct ieee80211com *ic = vap->iv_ic;
if (rrq->disabled) {
struct ieee80211com *ic = vap->iv_ic;
if (rrq->disabled) {
-@@ -13
21,7 +1321
,7 @@ static int
+@@ -13
34,7 +1334
,7 @@ static int
ieee80211_ioctl_giwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
ieee80211_ioctl_giwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
@@
-1426,7
+1426,7
@@
rrq->disabled = (vap->iv_flags & IEEE80211_F_SWRETRY) == 0;
if (!rrq->disabled) {
rrq->disabled = (vap->iv_flags & IEEE80211_F_SWRETRY) == 0;
if (!rrq->disabled) {
-@@ -13
52,7 +1352
,7 @@ static int
+@@ -13
65,7 +1365
,7 @@ static int
ieee80211_ioctl_siwtxpow(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
ieee80211_ioctl_siwtxpow(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
@@
-1435,7
+1435,7
@@
struct ieee80211com *ic = vap->iv_ic;
int fixed, disabled;
struct ieee80211com *ic = vap->iv_ic;
int fixed, disabled;
-@@ -1
389,7 +1389
,7 @@ ieee80211_get_txcont(struct net_device *
+@@ -1
402,7 +1402
,7 @@ ieee80211_get_txcont(struct net_device *
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1444,7
+1444,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont(ic);
return 0;
-@@ -14
00,7 +1400
,7 @@ ieee80211_get_dfs_cac_time(struct net_de
+@@ -14
13,7 +1413
,7 @@ ieee80211_get_dfs_cac_time(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1453,7
+1453,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_cac_time(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_cac_time(ic);
return 0;
-@@ -14
11,7 +1411
,7 @@ ieee80211_get_dfs_excl_period(struct net
+@@ -14
24,7 +1424
,7 @@ ieee80211_get_dfs_excl_period(struct net
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1462,7
+1462,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_excl_period(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_excl_period(ic);
return 0;
-@@ -14
21,7 +1421
,7 @@ ieee80211_set_dfs_cac_time(struct net_de
+@@ -14
34,7 +1434
,7 @@ ieee80211_set_dfs_cac_time(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1471,7
+1471,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_cac_time(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_cac_time(ic, params[1]);
return 0;
-@@ -14
31,7 +1431
,7 @@ ieee80211_set_dfs_excl_period (struct n
+@@ -14
44,7 +1444
,7 @@ ieee80211_set_dfs_excl_period (struct n
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1480,7
+1480,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_excl_period(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_excl_period(ic, params[1]);
return 0;
-@@ -14
42,7 +1442
,7 @@ ieee80211_get_dfs_testmode(struct net_de
+@@ -14
55,7 +1455
,7 @@ ieee80211_get_dfs_testmode(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1489,7
+1489,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_testmode(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_dfs_testmode(ic);
return 0;
-@@ -14
53,7 +1453
,7 @@ ieee80211_get_txcont_rate(struct net_dev
+@@ -14
66,7 +1466
,7 @@ ieee80211_get_txcont_rate(struct net_dev
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1498,7
+1498,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont_rate(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont_rate(ic);
return 0;
-@@ -14
64,7 +1464
,7 @@ ieee80211_set_txcont(struct net_device *
+@@ -14
77,7 +1477
,7 @@ ieee80211_set_txcont(struct net_device *
void *w, char *extra)
{
int *params = (int*) extra;
void *w, char *extra)
{
int *params = (int*) extra;
@@
-1507,7
+1507,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont(ic, params[1]);
return 0;
-@@ -14
75,7 +1475
,7 @@ ieee80211_set_dfs_testmode(struct net_de
+@@ -14
88,7 +1488
,7 @@ ieee80211_set_dfs_testmode(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1516,7
+1516,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_testmode(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_dfs_testmode(ic, params[1]);
return 0;
-@@ -14
86,7 +1486
,7 @@ ieee80211_set_txcont_rate(struct net_dev
+@@ -14
99,7 +1499
,7 @@ ieee80211_set_txcont_rate(struct net_dev
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1525,7
+1525,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont_rate(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont_rate(ic, params[1]);
return 0;
-@@ -1
497,7 +1497
,7 @@ ieee80211_set_txcont_power(struct net_de
+@@ -1
510,7 +1510
,7 @@ ieee80211_set_txcont_power(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1534,7
+1534,7
@@
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont_power(ic, params[1]);
return 0;
struct ieee80211com *ic = vap->iv_ic;
ic->ic_set_txcont_power(ic, params[1]);
return 0;
-@@ -15
08,7 +1508
,7 @@ ieee80211_get_txcont_power(struct net_de
+@@ -15
21,7 +1521
,7 @@ ieee80211_get_txcont_power(struct net_de
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
struct iw_request_info *info, void *w, char *extra)
{
int *params = (int*) extra;
@@
-1543,7
+1543,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont_power(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_get_txcont_power(ic);
return 0;
-@@ -15
20,7 +1520
,7 @@ ieee80211_ioctl_hal_map(struct net_devic
+@@ -15
33,7 +1533
,7 @@ ieee80211_ioctl_hal_map(struct net_devic
void *w, char *extra)
{
int *params = (int*) extra;
void *w, char *extra)
{
int *params = (int*) extra;
@@
-1552,7
+1552,7
@@
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_dump_hal_map(ic);
return 0;
struct ieee80211com *ic = vap->iv_ic;
params[0] = ic->ic_dump_hal_map(ic);
return 0;
-@@ -15
32,7 +1532,7 @@ ieee80211_ioctl_radar(struct net_device
+@@ -15
45,7 +1545,7 @@ ieee80211_ioctl_radar(struct net_device
void *w, char *extra)
{
int *params = (int*) extra;
void *w, char *extra)
{
int *params = (int*) extra;
@@
-1561,7
+1561,7
@@
struct ieee80211com *ic = vap->iv_ic;
if (!(ic->ic_flags & IEEE80211_F_DOTH))
return 0;
struct ieee80211com *ic = vap->iv_ic;
if (!(ic->ic_flags & IEEE80211_F_DOTH))
return 0;
-@@ -15
44,7 +1544
,7 @@ static int
+@@ -15
57,7 +1557
,7 @@ static int
ieee80211_ioctl_giwtxpow(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
ieee80211_ioctl_giwtxpow(struct net_device *dev, struct iw_request_info *info,
struct iw_param *rrq, char *extra)
{
@@
-1570,7
+1570,7
@@
struct ieee80211com *ic = vap->iv_ic;
unsigned int power = ic->ic_txpowlimit;
struct ieee80211_channel *c;
struct ieee80211com *ic = vap->iv_ic;
unsigned int power = ic->ic_txpowlimit;
struct ieee80211_channel *c;
-@@ -15
72,7 +1572
,7 @@ static int
+@@ -15
81,7 +1581
,7 @@ static int
ieee80211_dump_registers(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
ieee80211_dump_registers(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
@@
-1579,7
+1579,7
@@
struct ieee80211com *ic = vap->iv_ic;
switch (params[1]) {
case 2:
struct ieee80211com *ic = vap->iv_ic;
switch (params[1]) {
case 2:
-@@ -1
595,7 +1595
,7 @@ static int
+@@ -1
604,7 +1604
,7 @@ static int
ieee80211_ioctl_writereg(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
ieee80211_ioctl_writereg(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
@@
-1588,7
+1588,7
@@
struct ieee80211com *ic = vap->iv_ic;
return ic->ic_write_register(ic, params[0], params[1]);
}
struct ieee80211com *ic = vap->iv_ic;
return ic->ic_write_register(ic, params[0], params[1]);
}
-@@ -16
06,7 +1606
,7 @@ static int
+@@ -16
15,7 +1615
,7 @@ static int
ieee80211_ioctl_readreg(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
ieee80211_ioctl_readreg(struct net_device *dev, struct iw_request_info *info, void *w, char *extra)
{
unsigned int *params = (unsigned int*) extra;
@@
-1597,7
+1597,7
@@
struct ieee80211com *ic = vap->iv_ic;
return ic->ic_read_register(ic, params[0], ¶ms[0]);
}
struct ieee80211com *ic = vap->iv_ic;
return ic->ic_read_register(ic, params[0], ¶ms[0]);
}
-@@ -16
42,7 +1642
,7 @@ static int
+@@ -16
51,7 +1651
,7 @@ static int
ieee80211_ioctl_iwaplist(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_iwaplist(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1606,7
+1606,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct waplistreq req; /* XXX off stack */
struct ieee80211com *ic = vap->iv_ic;
struct waplistreq req; /* XXX off stack */
-@@ -16
64,7 +1664
,7 @@ static int
+@@ -16
73,7 +1673
,7 @@ static int
ieee80211_ioctl_siwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_siwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1615,7
+1615,7
@@
/*
* XXX don't permit a scan to be started unless we
/*
* XXX don't permit a scan to be started unless we
-@@ -19
88,7 +1988
,7 @@ static int
+@@ -19
97,7 +1997
,7 @@ static int
ieee80211_ioctl_giwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_giwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1624,7
+1624,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct iwscanreq req;
int res = 0;
struct ieee80211com *ic = vap->iv_ic;
struct iwscanreq req;
int res = 0;
-@@ -20
89,7 +2089
,7 @@ static int
+@@ -20
98,7 +2098
,7 @@ static int
ieee80211_ioctl_setmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
ieee80211_ioctl_setmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
@@
-1633,7
+1633,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ifreq ifr;
char s[6]; /* big enough for ``11adt'' */
struct ieee80211com *ic = vap->iv_ic;
struct ifreq ifr;
char s[6]; /* big enough for ``11adt'' */
-@@ -22
13,10 +2213,10 @@ ieee80211_setathcap(struct ieee80211vap
+@@ -22
22,10 +2222,10 @@ ieee80211_setathcap(struct ieee80211vap
static int
ieee80211_set_turbo(struct net_device *dev, int flag)
{
static int
ieee80211_set_turbo(struct net_device *dev, int flag)
{
@@
-1646,7
+1646,7
@@
int nvap = 0;
TAILQ_FOREACH(tmpvap, &ic->ic_vaps, iv_next)
int nvap = 0;
TAILQ_FOREACH(tmpvap, &ic->ic_vaps, iv_next)
-@@ -22
37,7 +2237
,7 @@ static int
+@@ -22
46,7 +2246
,7 @@ static int
ieee80211_ioctl_setparam(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_setparam(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1655,7
+1655,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_rsnparms *rsn = &vap->iv_bss->ni_rsn;
unsigned int *i = (unsigned int *) extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_rsnparms *rsn = &vap->iv_bss->ni_rsn;
unsigned int *i = (unsigned int *) extra;
-@@ -29
17,7 +2917
,7 @@ static int
+@@ -29
26,7 +2926
,7 @@ static int
ieee80211_ioctl_getmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
ieee80211_ioctl_getmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
@@
-1664,7
+1664,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ifmediareq imr;
struct ieee80211com *ic = vap->iv_ic;
struct ifmediareq imr;
-@@ -29
55,7 +2955
,7 @@ static int
+@@ -29
64,7 +2964
,7 @@ static int
ieee80211_ioctl_getparam(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_getparam(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1673,7
+1673,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_rsnparms *rsn = &vap->iv_bss->ni_rsn;
unsigned int *param = (unsigned int *) extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_rsnparms *rsn = &vap->iv_bss->ni_rsn;
unsigned int *param = (unsigned int *) extra;
-@@ -330
0,7 +3300
,7 @@ static int
+@@ -330
9,7 +3309
,7 @@ static int
ieee80211_ioctl_setoptie(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
ieee80211_ioctl_setoptie(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
@@
-1682,7
+1682,7
@@
void *ie;
/*
void *ie;
/*
-@@ -33
34,7 +3334
,7 @@ static int
+@@ -33
43,7 +3343
,7 @@ static int
ieee80211_ioctl_getoptie(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
ieee80211_ioctl_getoptie(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wri, char *extra)
{
@@
-1691,7
+1691,7
@@
if (vap->iv_opt_ie == NULL) {
wri->length = 0;
if (vap->iv_opt_ie == NULL) {
wri->length = 0;
-@@ -3
398,7 +3398
,7 @@ ieee80211_ioctl_setappiebuf(struct net_d
+@@ -3
407,7 +3407
,7 @@ ieee80211_ioctl_setappiebuf(struct net_d
struct iw_request_info *info,
struct iw_point *data, char *extra)
{
struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1700,7
+1700,7
@@
struct ieee80211req_getset_appiebuf *iebuf =
(struct ieee80211req_getset_appiebuf *)extra;
enum ieee80211_opmode chk_opmode;
struct ieee80211req_getset_appiebuf *iebuf =
(struct ieee80211req_getset_appiebuf *)extra;
enum ieee80211_opmode chk_opmode;
-@@ -344
0,7 +3440
,7 @@ static int
+@@ -344
9,7 +3449
,7 @@ static int
ieee80211_ioctl_getappiebuf(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
ieee80211_ioctl_getappiebuf(struct net_device *dev, struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1709,7
+1709,7
@@
struct ieee80211req_getset_appiebuf *iebuf =
(struct ieee80211req_getset_appiebuf *)extra;
int max_iebuf_len;
struct ieee80211req_getset_appiebuf *iebuf =
(struct ieee80211req_getset_appiebuf *)extra;
int max_iebuf_len;
-@@ -34
81,7 +3481
,7 @@ static int
+@@ -34
90,7 +3490
,7 @@ static int
ieee80211_ioctl_setfilter(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_setfilter(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1718,7
+1718,7
@@
struct ieee80211req_set_filter *app_filter = (struct ieee80211req_set_filter *)extra;
if ((extra == NULL) || (app_filter->app_filterype & ~IEEE80211_FILTER_TYPE_ALL))
struct ieee80211req_set_filter *app_filter = (struct ieee80211req_set_filter *)extra;
if ((extra == NULL) || (app_filter->app_filterype & ~IEEE80211_FILTER_TYPE_ALL))
-@@ -3
496,7 +3496
,7 @@ static int
+@@ -3
505,7 +3505
,7 @@ static int
ieee80211_ioctl_setkey(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_setkey(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1727,7
+1727,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_key *ik = (struct ieee80211req_key *)extra;
struct ieee80211_node *ni;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_key *ik = (struct ieee80211req_key *)extra;
struct ieee80211_node *ni;
-@@ -35
79,7 +3579
,7 @@ ieee80211_ioctl_setkey(struct net_device
+@@ -35
88,7 +3588
,7 @@ ieee80211_ioctl_setkey(struct net_device
static int
ieee80211_ioctl_getkey(struct net_device *dev, struct iwreq *iwr)
{
static int
ieee80211_ioctl_getkey(struct net_device *dev, struct iwreq *iwr)
{
@@
-1736,7
+1736,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
struct ieee80211req_key ik;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
struct ieee80211req_key ik;
-@@ -364
0,7 +3640
,7 @@ static int
+@@ -364
9,7 +3649
,7 @@ static int
ieee80211_ioctl_delkey(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_delkey(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1745,7
+1745,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_del_key *dk = (struct ieee80211req_del_key *)extra;
ieee80211_keyix_t kix;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_del_key *dk = (struct ieee80211req_del_key *)extra;
ieee80211_keyix_t kix;
-@@ -37
14,7 +3714
,7 @@ static int
+@@ -37
23,7 +3723
,7 @@ static int
ieee80211_ioctl_setmlme(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_setmlme(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1754,7
+1754,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_mlme *mlme = (struct ieee80211req_mlme *)extra;
struct ieee80211_node *ni;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_mlme *mlme = (struct ieee80211req_mlme *)extra;
struct ieee80211_node *ni;
-@@ -38
17,7 +3817
,7 @@ static int
+@@ -38
26,7 +3826
,7 @@ static int
ieee80211_ioctl_wdsaddmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_wdsaddmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1763,7
+1763,7
@@
struct sockaddr *sa = (struct sockaddr *)extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211vap *avp;
struct sockaddr *sa = (struct sockaddr *)extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211vap *avp;
-@@ -38
46,7 +3846
,7 @@ static int
+@@ -38
55,7 +3855
,7 @@ static int
ieee80211_ioctl_wdssetmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_wdssetmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1772,7
+1772,7
@@
struct sockaddr *sa = (struct sockaddr *)extra;
if (vap->iv_opmode != IEEE80211_M_WDS)
struct sockaddr *sa = (struct sockaddr *)extra;
if (vap->iv_opmode != IEEE80211_M_WDS)
-@@ -39
13,7 +3913
,7 @@ ieee80211_ioctl_setscanlist(struct net_d
+@@ -39
22,7 +3922
,7 @@ ieee80211_ioctl_setscanlist(struct net_d
struct iw_request_info *info,
struct iw_point *data, char *extra)
{
struct iw_request_info *info,
struct iw_point *data, char *extra)
{
@@
-1781,7
+1781,7
@@
struct ieee80211com *ic = vap->iv_ic;
char *s, *next;
int val = 1;
struct ieee80211com *ic = vap->iv_ic;
char *s, *next;
int val = 1;
-@@ -39
88,7 +3988
,7 @@ static int
+@@ -39
97,7 +3997
,7 @@ static int
ieee80211_ioctl_addmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_addmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1790,7
+1790,7
@@
struct sockaddr *sa = (struct sockaddr *)extra;
const struct ieee80211_aclator *acl = vap->iv_acl;
struct sockaddr *sa = (struct sockaddr *)extra;
const struct ieee80211_aclator *acl = vap->iv_acl;
-@@ -40
06,7 +4006
,7 @@ static int
+@@ -40
15,7 +4015
,7 @@ static int
ieee80211_ioctl_delmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_delmac(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1799,7
+1799,7
@@
struct sockaddr *sa = (struct sockaddr *)extra;
const struct ieee80211_aclator *acl = vap->iv_acl;
struct sockaddr *sa = (struct sockaddr *)extra;
const struct ieee80211_aclator *acl = vap->iv_acl;
-@@ -40
24,7 +4024
,7 @@ static int
+@@ -40
33,7 +4033
,7 @@ static int
ieee80211_ioctl_setchanlist(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
ieee80211_ioctl_setchanlist(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
@@
-1808,7
+1808,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_chanlist *list =
(struct ieee80211req_chanlist *)extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_chanlist *list =
(struct ieee80211req_chanlist *)extra;
-@@ -40
75,7 +4075
,7 @@ static int
+@@ -40
84,7 +4084
,7 @@ static int
ieee80211_ioctl_getchanlist(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
ieee80211_ioctl_getchanlist(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
@@
-1817,7
+1817,7
@@
struct ieee80211com *ic = vap->iv_ic;
memcpy(extra, ic->ic_chan_active, sizeof(ic->ic_chan_active));
struct ieee80211com *ic = vap->iv_ic;
memcpy(extra, ic->ic_chan_active, sizeof(ic->ic_chan_active));
-@@ -4
096,7 +4096
,7 @@ static int
+@@ -4
105,7 +4105
,7 @@ static int
ieee80211_ioctl_getchaninfo(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
ieee80211_ioctl_getchaninfo(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
@@
-1826,7
+1826,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_chaninfo *chans =
(struct ieee80211req_chaninfo *)extra;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211req_chaninfo *chans =
(struct ieee80211req_chaninfo *)extra;
-@@ -41
43,7 +4143
,7 @@ static int
+@@ -41
52,7 +4152
,7 @@ static int
ieee80211_ioctl_setwmmparams(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
ieee80211_ioctl_setwmmparams(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
@@
-1835,7
+1835,7
@@
unsigned int *param = (unsigned int *) extra;
unsigned int ac = (param[1] < WME_NUM_AC) ? param[1] : WME_AC_BE;
unsigned int bss = param[2];
unsigned int *param = (unsigned int *) extra;
unsigned int ac = (param[1] < WME_NUM_AC) ? param[1] : WME_AC_BE;
unsigned int bss = param[2];
-@@ -42
31,7 +4231
,7 @@ static int
+@@ -42
40,7 +4240
,7 @@ static int
ieee80211_ioctl_getwmmparams(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
ieee80211_ioctl_getwmmparams(struct net_device *dev,
struct iw_request_info *info, void *w, char *extra)
{
@@
-1844,7
+1844,7
@@
unsigned int *param = (unsigned int *) extra;
unsigned int ac = (param[1] < WME_NUM_AC) ? param[1] : WME_AC_BE;
struct ieee80211_wme_state *wme = &vap->iv_ic->ic_wme;
unsigned int *param = (unsigned int *) extra;
unsigned int ac = (param[1] < WME_NUM_AC) ? param[1] : WME_AC_BE;
struct ieee80211_wme_state *wme = &vap->iv_ic->ic_wme;
-@@ -42
66,7 +4266
,7 @@ ieee80211_ioctl_getwmmparams(struct net_
+@@ -42
75,7 +4275
,7 @@ ieee80211_ioctl_getwmmparams(struct net_
static int
ieee80211_ioctl_getwpaie(struct net_device *dev, struct iwreq *iwr)
{
static int
ieee80211_ioctl_getwpaie(struct net_device *dev, struct iwreq *iwr)
{
@@
-1853,7
+1853,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
struct ieee80211req_wpaie wpaie;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
struct ieee80211req_wpaie wpaie;
-@@ -430
0,7 +4300
,7 @@ ieee80211_ioctl_getwpaie(struct net_devi
+@@ -430
9,7 +4309
,7 @@ ieee80211_ioctl_getwpaie(struct net_devi
static int
ieee80211_ioctl_getstastats(struct net_device *dev, struct iwreq *iwr)
{
static int
ieee80211_ioctl_getstastats(struct net_device *dev, struct iwreq *iwr)
{
@@
-1862,7
+1862,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
u_int8_t macaddr[IEEE80211_ADDR_LEN];
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
u_int8_t macaddr[IEEE80211_ADDR_LEN];
-@@ -44
19,7 +4419,7 @@ get_scan_result(void *arg, const struct
+@@ -44
28,7 +4428,7 @@ get_scan_result(void *arg, const struct
static int
ieee80211_ioctl_getscanresults(struct net_device *dev, struct iwreq *iwr)
{
static int
ieee80211_ioctl_getscanresults(struct net_device *dev, struct iwreq *iwr)
{
@@
-1871,7
+1871,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct scanreq req;
int error;
struct ieee80211com *ic = vap->iv_ic;
struct scanreq req;
int error;
-@@ -45
82,7 +4582
,7 @@ get_sta_info(void *arg, struct ieee80211
+@@ -45
91,7 +4591
,7 @@ get_sta_info(void *arg, struct ieee80211
static int
ieee80211_ioctl_getstainfo(struct net_device *dev, struct iwreq *iwr)
{
static int
ieee80211_ioctl_getstainfo(struct net_device *dev, struct iwreq *iwr)
{
@@
-1880,7
+1880,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct stainforeq req;
int error;
struct ieee80211com *ic = vap->iv_ic;
struct stainforeq req;
int error;
-@@ -46
16,7 +4616
,7 @@ ieee80211_ioctl_getstainfo(struct net_de
+@@ -46
25,7 +4625
,7 @@ ieee80211_ioctl_getstainfo(struct net_de
static void
pre_announced_chanswitch(struct net_device *dev, u_int32_t channel, u_int32_t tbtt) {
static void
pre_announced_chanswitch(struct net_device *dev, u_int32_t channel, u_int32_t tbtt) {
@@
-1889,7
+1889,7
@@
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211vap *avp;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211vap *avp;
-@@ -46
34,7 +4634
,7 @@ static int
+@@ -46
43,7 +4643
,7 @@ static int
ieee80211_ioctl_chanswitch(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
ieee80211_ioctl_chanswitch(struct net_device *dev, struct iw_request_info *info,
void *w, char *extra)
{
@@
-1898,7
+1898,7
@@
struct ieee80211com *ic = vap->iv_ic;
unsigned int *param = (unsigned int *) extra;
struct ieee80211com *ic = vap->iv_ic;
unsigned int *param = (unsigned int *) extra;
-@@ -46
79,7 +4679
,7 @@ static int
+@@ -46
88,7 +4688
,7 @@ static int
ieee80211_ioctl_giwgenie(struct net_device *dev,
struct iw_request_info *info, struct iw_point *out, char *buf)
{
ieee80211_ioctl_giwgenie(struct net_device *dev,
struct iw_request_info *info, struct iw_point *out, char *buf)
{
@@
-1907,7
+1907,7
@@
if (out->length < vap->iv_opt_ie_len)
return -E2BIG;
if (out->length < vap->iv_opt_ie_len)
return -E2BIG;
-@@ -52
12,7 +5212
,7 @@ static int
+@@ -52
21,7 +5221
,7 @@ static int
ieee80211_ioctl_giwencodeext(struct net_device *dev,
struct iw_request_info *info, struct iw_point *erq, char *extra)
{
ieee80211_ioctl_giwencodeext(struct net_device *dev,
struct iw_request_info *info, struct iw_point *erq, char *extra)
{
@@
-1916,7
+1916,7
@@
struct iw_encode_ext *ext;
struct ieee80211_key *wk;
ieee80211_keyix_t kix;
struct iw_encode_ext *ext;
struct ieee80211_key *wk;
ieee80211_keyix_t kix;
-@@ -52
72,7 +5272
,7 @@ static int
+@@ -52
81,7 +5281
,7 @@ static int
ieee80211_ioctl_siwencodeext(struct net_device *dev,
struct iw_request_info *info, struct iw_point *erq, char *extra)
{
ieee80211_ioctl_siwencodeext(struct net_device *dev,
struct iw_request_info *info, struct iw_point *erq, char *extra)
{
@@
-1925,7
+1925,7
@@
struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;
struct ieee80211req_key kr;
ieee80211_keyix_t kix;
struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;
struct ieee80211req_key kr;
ieee80211_keyix_t kix;
-@@ -59
48,7 +5948
,7 @@ static struct iw_handler_def ieee80211_i
+@@ -59
57,7 +5957
,7 @@ static struct iw_handler_def ieee80211_i
static int
ieee80211_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
static int
ieee80211_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
This page took
0.086198 seconds
and
4
git commands to generate.