ath9k mesh mode
This patch begins the work to getting mesh mode working with ath9k. I am using the b43 and rt2x00 drivers as templates on how to do this.
Unfortunately it doesn't seem to work yet. In attempting to set up a mesh between an ath9k device and a b43 device, the ath9k device does not seem to be enabling beaconing. I have a third device in monitor mode that sees the b43 beacons, sees ath9k responding to them (I believe trying to establish a link), and b43 is acknowledging those responses, but no link is established. On the same ath9k device, I'm not seeing beaconing in ad-hoc mode, which leads me to believe that beaconing may be broken right now for my Atheros device. What am I doing wrong?
Atheros HW: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xf9280000, irq=17 b43 HW: BCM4306 802.11b/g (rev 5)
---
drivers/net/wireless/ath9k/beacon.c +4 -1
@@ -70,7 +70,8 @@ static void ath_beacon_setup(struct ath_softc *sc, struct ath_vif *avp, ds = bf->bf_desc; flags =ATH9K_TXDESC_NOACK ; -if (sc->sc_ah->opmode ==NL80211_IFTYPE_ADHOC && +if (((sc->sc_ah->opmode ==NL80211_IFTYPE_ADHOC ) || + (sc->sc_ah->opmode ==NL80211_IFTYPE_MESH_POINT )) && (ah->caps.hw_caps &ATH9K_HW_CAP_VEOL )) { ds->ds_link = bf->bf_daddr;/* self-linked */ flags |=ATH9K_TXDESC_VEOL ;
@@ -727,6 +728,8 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)case NL80211_IFTYPE_AP :ath_beacon_config_ap (sc, &conf, avp);break ; +case NL80211_IFTYPE_MESH_POINT : +/* Handle mesh beaconing just like ad-hoc */ case NL80211_IFTYPE_ADHOC :ath_beacon_config_adhoc (sc, &conf, avp, vif);break ;
drivers/net/wireless/ath9k/hw.c +4 -0
@@ -1430,6 +1430,8 @@ static void ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) | AR_STA_ID1_KSRCH_MODE);REG_CLR_BIT (ah,AR_CFG ,AR_CFG_AP_ADHOC_INDICATION );break ; +case NL80211_IFTYPE_MESH_POINT : +/* Configure HW same as ADHOC */ case NL80211_IFTYPE_ADHOC :REG_WRITE (ah,AR_STA_ID1 , val |AR_STA_ID1_ADHOC |AR_STA_ID1_KSRCH_MODE );
@@ -3135,6 +3137,8 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)REG_WRITE (ah,AR_NEXT_SWBA ,0x7ffff ); flags |=AR_TBTT_TIMER_EN ;break ; +case NL80211_IFTYPE_MESH_POINT : +/* Should IBSS style beaconing be used for mesh point? */ case NL80211_IFTYPE_ADHOC :REG_SET_BIT (ah,AR_TXCFG ,AR_TXCFG_ADHOC_BEACON_ATIM_TX_POLICY );
drivers/net/wireless/ath9k/main.c +34 -14
94 lines not on this page · raw message
drivers/net/wireless/ath9k/rc.c +2 -1
@@ -1615,7 +1615,8 @@ static void ath_rate_init(void *priv, struct ieee80211_supported_band *sband,/* Choose rate table first */ if ((sc->sc_ah->opmode ==NL80211_IFTYPE_STATION ) || - (sc->sc_ah->opmode ==NL80211_IFTYPE_ADHOC )) { + (sc->sc_ah->opmode ==NL80211_IFTYPE_ADHOC ) || + (sc->sc_ah->opmode ==NL80211_IFTYPE_MESH_POINT )) { rate_table =ath_choose_rate_table (sc, sband->band, sta->ht_cap.ht_supported, is_cw40);
I would also look at the ath5k driver as (last time I looked) it is quite similar to ath9k in how mesh beacons would be handled and the RX filter configuration code is nearly identical.
Quoted 1 line · pat-lkml
This patch begins the work to getting mesh mode working with ath9k. =A0=
I am
Quoted 3 lines
using the b43 and rt2x00 drivers as templates on how to do this.
Unfortunately it doesn't seem to work yet. =A0In attempting to set up=
a mesh between
Quoted 1 line
an ath9k device and a b43 device, the ath9k device does not seem to b=
e enabling
Quoted 1 line
beaconing. =A0I have a third device in monitor mode that sees the b43=
beacons,
Quoted 1 line
sees ath9k responding to them (I believe trying to establish a link),=
and b43
Quoted 1 line
is acknowledging those responses, but no link is established. =A0On t=
he same ath9k
Quoted 1 line
device, I'm not seeing beaconing in ad-hoc mode, which leads me to be=
lieve that
Quoted 1 line
beaconing may be broken right now for my Atheros device. =A0What am I=
doing wrong?
Quoted 2 lines
Atheros HW: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=3D0xf92=
80000, irq=3D17
drivers/net/wirele=
Quoted 4 lines
b43 HW: BCM4306 802.11b/g (rev 5)
---
drivers/net/wirele= renamed from drivers/net/wireless/ath9k/beacon.c +0
-0
ss/ath9k/beacon.c
drivers/net/wireless/ath9k/beacon.c static void ath_beacon_setup(struct ath_softc *sc, =
Quoted 4 lines
index 039c781..cbd94dd 100644
drivers/net/wireless/ath9k/beacon.c +0
-0@@ -70,7 +70,8 @@ static void ath_beacon_setup(struct ath_softc *sc, =
struct ath_vif *avp,
drivers/net/wireless/ath9k/beacon.c static void ath_beacon_setup(struct ath_softc *sc, = · line 74
Quoted 6 lines
drivers/net/wireless/ath9k/beacon.c +2
-1=A0 =A0 =A0 =A0ds =3D bf->bf_desc; =A0 =A0 =A0 =A0flags =3D ATH9K_TXDESC_NOACK; - =A0 =A0 =A0 if (sc->sc_ah->opmode =3D=3D NL80211_IFTYPE_ADHOC && + =A0 =A0 =A0 if (((sc->sc_ah->opmode =3D=3D NL80211_IFTYPE_ADHOC) || + =A0 =A0 =A0 =A0 =A0 =A0(sc->sc_ah->opmode =3D=3D NL80211_IFTYPE_MES=
H_POINT)) &&
Quoted 2 lines
drivers/net/wireless/ath9k/beacon.c +0
-0=A0 =A0 =A0 =A0 =A0 =A0(ah->caps.hw_caps & ATH9K_HW_CAP_VEOL)) {=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ds->ds_link =3D
bf->bf_daddr; /* self-=
linked */
drivers/net/wireless/ath9k/beacon.c void ath_beacon_config(struct ath_softc *sc, stru=
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0flags |=3D
ATH9K_TXDESC_VEOL;drivers/net/wireless/ath9k/beacon.c +0
-0@@ -727,6 +728,8 @@ void ath_beacon_config(struct ath_softc *sc, stru=
ct ieee80211_vif *vif)
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0case
NL80211_IFTYPE_AP:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ath_beacon_config_ap(s=
c, &conf, avp);
Quoted 3 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 caseNL80211_IFTYPE_MESH_POINT:
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Handle mesh beaconin=
g just like ad-hoc */
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0case
NL80211_IFTYPE_ADHOC:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ath_beacon_config_adho=
c(sc, &conf, avp, vif);
drivers/net/wireless/a=
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;
drivers/net/wireless/a= renamed from drivers/net/wireless/ath9k/hw.c +0
-0
th9k/hw.c
drivers/net/wireless/ath9k/hw.c static void ath9k_hw_set_operating_mode(struct =
Quoted 4 lines
index c10b33b..06376aa 100644
drivers/net/wireless/ath9k/hw.c +0
-0@@ -1430,6 +1430,8 @@ static void ath9k_hw_set_operating_mode(struct =
ath_hw *ah, int opmode)
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| AR_STA_ID1_KSRCH=
_MODE);
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0REG_CLR_BIT(ah,
AR_CFG, AR_CFG_AP_ADHO=
C_INDICATION);
Quoted 5 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;
+ =A0 =A0 =A0 caseNL80211_IFTYPE_MESH_POINT:
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Configure HW same as ADHOC */ =A0 =A0 =A0 =A0caseNL80211_IFTYPE_ADHOC:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0REG_WRITE(ah,AR_STA_ID1, val | AR_STA=
_ID1_ADHOC
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| AR_STA_ID1_KSRCH=
_MODE);
drivers/net/wireless/ath9k/hw.c void ath9k_hw_beaconinit(struct ath_hw *ah, u32=
Quoted 1 line
drivers/net/wireless/ath9k/hw.c +0
-0@@ -3135,6 +3137,8 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32=
next_beacon, u32 beacon_period)
drivers/net/wireless/ath9k/hw.c void ath9k_hw_beaconinit(struct ath_hw *ah, u32= · line 3141
Quoted 5 lines
drivers/net/wireless/ath9k/hw.c +2
-0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0REG_WRITE (ah,AR_NEXT_SWBA ,0x7ffff ); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0flags |=3D AR_TBTT_TIMER_EN; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; + =A0 =A0 =A0 case NL80211_IFTYPE_MESH_POINT: + =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Should IBSS style beaconing be used =
for mesh point? */
Quoted 3 lines
=A0 =A0 =A0 =A0case
NL80211_IFTYPE_ADHOC:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0REG_SET_BIT(ah,AR_TXCFG, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AR_TXCFG_ADHOC=
_BEACON_ATIM_TX_POLICY);
drivers/net/wireless=
Quoted 1 line
drivers/net/wireless= renamed from drivers/net/wireless/ath9k/main.c +0
-0
/ath9k/main.c
drivers/net/wireless/ath9k/main.c void ath_set_hw_capab(struct ath_softc *sc, str=
Quoted 4 lines
index 5268697..e76e0de 100644
drivers/net/wireless/ath9k/main.c +0
-0@@ -1590,6 +1590,7 @@ void ath_set_hw_capab(struct ath_softc *sc, str=
uct ieee80211_hw *hw)
drivers/net/wireless/ath9k/main.c static int ath9k_add_interface(struct ieee802=
Quoted 8 lines
=A0 =A0 =A0 =A0hw->wiphy->interface_modes =3D
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BIT(NL80211_IFTYPE_AP) | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BIT(NL80211_IFTYPE_STATION) |
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0BIT(NL80211_IFTYPE_MESH_POINT)| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BIT(NL80211_IFTYPE_ADHOC);=A0 =A0 =A0 =A0hw->wiphy->reg_notifier =3D
ath9k_reg_notifier;drivers/net/wireless/ath9k/main.c +0
-0@@ -2198,18 +2199,13 @@ static int ath9k_add_interface(struct ieee802=
11_hw *hw,
drivers/net/wireless/ath9k/main.c static int ath9k_add_interface(struct ieee802=
Quoted 21 lines
drivers/net/wireless/ath9k/main.c +0
-0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ic_opmode =3D NL80211_IFTYPE_STATION; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;=A0 =A0 =A0 =A0case
NL80211_IFTYPE_ADHOC:
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (sc->nbcnvifs>=3DATH_BCBUF) {
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ret =3D-ENOBUFS;
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 goto out;
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 }
- =A0 =A0 =A0 =A0 =A0 =A0 =A0ic_opmode=3DNL80211_IFTYPE_ADHOC;
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 break;
=A0 =A0 =A0 =A0caseNL80211_IFTYPE_AP:
+ =A0 =A0 =A0 caseNL80211_IFTYPE_MESH_POINT:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (sc->nbcnvifs>=3DATH_BCBUF) { =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ret =3D-ENOBUFS; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0goto out; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}
- =A0 =A0 =A0 =A0 =A0 =A0 =A0ic_opmode=3DNL80211_IFTYPE_AP;
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0ic_opmode=3Dconf->type; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;
=A0 =A0 =A0 =A0default:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0DPRINTF(sc,ATH_DBG_FATAL,drivers/net/wireless/ath9k/main.c +0
-0@@ -2242,10 +2238,11 @@ static int ath9k_add_interface(struct ieee802=
11_hw *hw,
Quoted 3 lines
=A0 =A0 =A0 =A0/*
=A0 =A0 =A0 =A0 * Enable MIB interrupts when there are hardware phy c=
ounters.
Quoted 1 line
- =A0 =A0 =A0 =A0* Note we only do this (at the moment) for station m=
ode.
Quoted 1 line
+ =A0 =A0 =A0 =A0* Note we only do this (at the moment) for non AP mo=
des.
Quoted 5 lines
=A0 =A0 =A0 =A0 */
=A0 =A0 =A0 =A0if ((conf->type=3D=3DNL80211_IFTYPE_STATION) ||
- =A0 =A0 =A0 =A0 =A0 (conf->type=3D=3DNL80211_IFTYPE_ADHOC)) {
+ =A0 =A0 =A0 =A0 =A0 (conf->type=3D=3DNL80211_IFTYPE_ADHOC) ||
+ =A0 =A0 =A0 =A0 =A0 (conf->type=3D=3DNL80211_IFTYPE_MESH_POINT)) =
{
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (
ath9k_hw_phycounters(sc->sc_ah)) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0sc->imask |=3D ATH9K_I=
NT_MIB;
drivers/net/wireless/ath9k/main.c static void ath9k_remove_interface(struct ieee8=
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0sc->imask |=3D
ATH9K_INT_TSFOOR;drivers/net/wireless/ath9k/main.c +0
-0@@ -2292,8 +2289,9 @@ static void ath9k_remove_interface(struct ieee8=
0211_hw *hw,
Quoted 5 lines
drivers/net/wireless/ath9k/main.c +0
-0=A0 =A0 =A0 =A0del_timer_sync(&sc->ani.timer);=A0 =A0 =A0 =A0/* Reclaim beacon resources */
- =A0 =A0 =A0 if (sc->sc_ah->opmode=3D=3DNL80211_IFTYPE_AP||
- =A0 =A0 =A0 =A0 =A0sc->sc_ah->opmode=3D=3DNL80211_IFTYPE_ADHOC) =
{
Quoted 2 lines
+ =A0 =A0 =A0 if ((
sc->sc_ah->opmode=3D=3DNL80211_IFTYPE_AP) ||
+ =A0 =A0 =A0 =A0 =A0 (sc->sc_ah->opmode=3D=3D NL80211_IFTYPE_ADHOC)=
||
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 (
sc->sc_ah->opmode=3D=3D NL80211_IFTYPE_MESH_P=
OINT)) {
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ath9k_hw_stoptxdma(sc->sc_ah, sc->beac=
on.beaconq);
drivers/net/wireless/ath9k/main.c static int ath9k_config_interface(struct ieee=
Quoted 3 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ath_beacon_return(sc, avp); =A0 =A0 =A0 =A0}
drivers/net/wireless/ath9k/main.c +0
-0@@ -2446,10 +2444,31 @@ static int ath9k_config_interface(struct ieee=
80211_hw *hw,
Quoted 4 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0default:
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break;
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}
+ =A0 =A0 =A0 } else if ((vif->type=3D=3D NL80211_IFTYPE_MESH_POINT)=
&& (conf->bssid)) {
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Both b43 and rt2x00 set the bssid in=
the case that one
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0* is passed durint interface config,=
irregardless of the
Quoted 4 lines
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0* status of
conf->changed*/ +
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Set BSSID */
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 memcpy(sc->curbssid,conf->bssid, ETH_A=
LEN);
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 memcpy(avp->bssid,
conf->bssid, ETH_ALE=
N);
Quoted 4 lines
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0
sc->curaid=3D 0;
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0ath9k_hw_write_associd(sc);
+
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* Set aggregation protection mode para=
meters */
Quoted 4 lines
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0
sc->config.ath_aggr_prot=3D 0; +
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 DPRINTF(sc,ATH_DBG_CONFIG,
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "RX filter 0x%x bssid %=
pM aid 0x%x\n",
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rfilt,
sc->curbssid, sc=
->curaid);
Quoted 10 lines
+
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* need to reconfigure the beacon */
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0sc->sc_flags&=3D ~SC_OP_BEACONS ; =A0 =A0 =A0 =A0}=A0 =A0 =A0 =A0if ((
vif->type=3D=3DNL80211_IFTYPE_ADHOC) ||
- =A0 =A0 =A0 =A0 =A0 (vif->type=3D=3DNL80211_IFTYPE_AP)) {
+ =A0 =A0 =A0 =A0 =A0 (vif->type=3D=3DNL80211_IFTYPE_AP) ||
+ =A0 =A0 =A0 =A0 =A0 (vif->type=3D=3DNL80211_IFTYPE_MESH_POINT)) { =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if ((conf->changed& IEEE80211_IFCC_BE=
ACON) ||
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(conf->changed & IEEE80211_IFC=
C_BEACON_ENABLED &&
drivers/net/wireless/ath9k/main.c static int ath9k_config_interface(struct ieee80=
Quoted 2 lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
conf->enable_beacon)) {drivers/net/wireless/ath9k/main.c +0
-0@@ -2482,8 +2501,9 @@ static int ath9k_config_interface(struct ieee80=
211_hw *hw,
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 sc->curbssid);
drivers/net/wireless/a=
Quoted 11 lines
=A0 =A0 =A0 =A0}
- =A0 =A0 =A0 /* Only legacy IBSS for now */
- =A0 =A0 =A0 if (vif->type=3D=3DNL80211_IFTYPE_ADHOC)
+ =A0 =A0 =A0 /* Only legacy IBSS and Mesh Point for now */
+ =A0 =A0 =A0 if ((vif->type=3D=3DNL80211_IFTYPE_ADHOC) ||
+ =A0 =A0 =A0 =A0 =A0 (vif->type=3D=3DNL80211_IFTYPE_MESH_POINT)) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ath_update_chainmask(sc, 0);=A0 =A0 =A0 =A0mutex_unlock(&sc->mutex);
drivers/net/wireless/a= renamed from drivers/net/wireless/ath9k/rc.c +0
-0
th9k/rc.c
drivers/net/wireless/ath9k/rc.c static void ath_rate_init(void *priv, struct ie=
Quoted 4 lines
index 8327356..61f8334 100644
drivers/net/wireless/ath9k/rc.c +0
-0@@ -1615,7 +1615,8 @@ static void ath_rate_init(void *priv, struct ie=
ee80211_supported_band *sband,
Quoted 3 lines
=A0 =A0 =A0 =A0/* Choose rate table first */
=A0 =A0 =A0 =A0if ((
sc->sc_ah->opmode=3D=3DNL80211_IFTYPE_STATION) =
||
Quoted 1 line
- =A0 =A0 =A0 =A0 =A0 (
sc->sc_ah->opmode=3D=3D NL80211_IFTYPE_ADHOC)=
) {
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 (
sc->sc_ah->opmode=3D=3D NL80211_IFTYPE_ADHOC)=
||
Quoted 1 line
+ =A0 =A0 =A0 =A0 =A0 (
sc->sc_ah->opmode=3D=3D NL80211_IFTYPE_MESH_P=
OINT)) {
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rate_table =3D ath_choose_rate_table(s=
c, sband->band,
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 sta->ht_cap.ht_supported,
Quoted 1 line
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 is_cw40);
Quoted 2 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-wirel=
ess" in
Quoted 3 lines
the body of a message to [email protected]
More majordomo info at =A0http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html