Hello,

I am attempting to build an AP that can support airplay streaming
between various mac devices. My current test bed is as follows:

Macbook Pro 10,2 (13" Retina), with an Airport Extreme (0x14E4, 0x10F)
card, which is using the BCM43xx driver (according to system report).
Apple TV Gen 3 (no idea what the wireless hardware in it is)

A Jetway Mini-top:

http://www.newegg.com/Product/Product.aspx?Item=N82E16856107081

It's running fully patched debian stable (wheezy), amd64.

I have replaced the stock PCI Express wireless card with a SparkLan WPEA-127N:

http://www.sparklan.com/product.php?func=view&prod_id=181

and added two antennas to the top of the case utilizing these:

http://www.embeddedworks.net/pdetail.php?mn=assy&prod=assy085
http://www.embeddedworks.net/pdetail.php?mn=ante&prod=ante542

The darn WPEA-127N came world-roaming burned in to the EEPROM, so I
modified the ath9k driver from the stock debian wheezy driver using:

https://patchwork.kernel.org/patch/2249511/

(thanks Ben)

and for good measure, also updated regulatory.bin for crda to map
regdomain 0 to the US (where I'm at).

Finally, my modprobe settings for ath9k are:

options ath9k override_eeprom_regdomain=0
options ath9k nohwcrypt=1


I have successfully connected to the AP over a 5GHz channel utilizing
HT40, and have working network connectivity.

My hostapd.conf is as follows:

interface=wlan0
driver=nl80211
ssid=aero
hw_mode=a
channel=44
ieee80211n=1
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
tx_queue_data3_aifs=7
tx_queue_data3_cwmin=15
tx_queue_data3_cwmax=1023
tx_queue_data3_burst=0
tx_queue_data2_aifs=3
tx_queue_data2_cwmin=15
tx_queue_data2_cwmax=63
tx_queue_data2_burst=0
tx_queue_data1_aifs=1
tx_queue_data1_cwmin=7
tx_queue_data1_cwmax=15
tx_queue_data1_burst=3.0
tx_queue_data0_aifs=1
tx_queue_data0_cwmin=3
tx_queue_data0_cwmax=7
tx_queue_data0_burst=1.5
ht_capab=[LDPC][HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
#ht_capab=[LDPC][SHORT-GI-20][TX-STBC][RX-STBC1]
#ht_capab=[LDPC][TX-STBC][RX-STBC1]
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=[REDACTED]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
country_code=US


the various wmm and tx_queue parts are mostly unknown to me, as I came
across them trying to determine why my airplay stream would not start
if the encryption scheme was CCMP. After setting the above, it would
start when the scheme was set to CCMP.


As of right now, I get about 11MB/s (88Mbit/s), and that seems low. I
was hoping to see something closer 200-250Mbit, but I don't really
know what to expect between a published maximum (which I currently
believe to be 450Mbit for this card), and a practical maximum.

So, my question is...am I doing it wrong? Also, since the wmm and tx
settings are mostly unknown to me, I've been trying to figure out what
they mean, but have not located any useful resources. If anyone could
point me in that direction, I may find that these settings are
completely wrong for my hardware.

Finally, if this is the completely wrong forum to ask this question, I
apologize. This is my first dive into a linux AP, and I'm mostly still
stumbling around blindly.

Thanks,

Adam
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to