On Sat, Aug 18, 2012 at 6:59 AM, 李申 <[email protected]> wrote:
> Hello everyone.
> Today I bought an another USB wireless card which is TP-Link WN821N v3 and
> its driver is ath9k_htc.
> In order to make it support mesh,I modified the source code of
> drivers/net/wireless/ath/ath9k/htc.h
> drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
> drivers/net/wireless/ath/ath9k/htc_drv_init.c
> drivers/net/wireless/ath/ath9k/htc_drv_main.c
> drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
> according to this page
> https://github.com/cozybit/open80211s/commit/aac99c2fe7dbe55f635a52210406597e51643624
> and
> https://github.com/cozybit/open80211s/commit/673b4eb1227e1e23c6db7745f051da22e582a61c
> After that I compiled the codes and installed the newer modules.
> By inputting "lsmod" I checked that the ath9k_htc was on the list and the
> firmware  htc_7010.fw is in /lib/firmware.
> But when I input "iw list" it shows as follow:
> Wiphy phy0
>     Band 1:
>         Capabilities: 0x116e
>             HT20/HT40
>             SM Power Save disabled
>             RX HT20 SGI
>             RX HT40 SGI
>             RX STBC 1-stream
>             Max AMSDU length: 7935 bytes
>             DSSS/CCK HT40
>         Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
>         Minimum RX AMPDU time spacing: 8 usec (0x06)
>         HT TX/RX MCS rate indexes supported: 0-15
>         Freq uencies:
>             * 2412 MHz [1] (20.0 dBm)
>             * 2417 MHz [2] (20.0 dBm)
>             * 2422 MHz [3] (20.0 dBm)
>             * 2427 MHz [4] (20.0 dBm)
>             * 2432 MHz [5] (20.0 dBm)
>             * 2437 MHz [6] (20.0 dBm)
>             * 2442 MHz [7] (20.0 dBm)
>             * 2447 MHz [8] (20.0 dBm)
>             * 2452 MHz [9] (20.0 dBm)
>             * 2457 MHz [10] (20.0 dBm)
>             * 2462 MHz [11] (20.0 dBm)
>      &nbs p;      * 2467 MHz [12] (20.0 dBm)
>             * 2472 MHz [13] (20.0 dBm)
>             * 2484 MHz [14] (disabled)
>         Bitrates (non-HT):
>             * 1.0 Mbps
>             * 2.0 Mbps (short preamble supported)
>             * 5.5 Mbps (short preamble supported)
>             * 11.0 Mbps (short preamble supported)
>             * 6.0 Mbps
>             * 9.0 Mbps
>             * 12.0 Mbps
>             * 18.0 Mbps
>          & nbsp;  * 24.0 Mbps
>             * 36.0 Mbps
>             * 48.0 Mbps
>             * 54.0 Mbps
>     max # scan SSIDs: 4
>     Supported interface modes:
>          * IBSS
>          * managed
>          * AP
>          * AP/VLAN
>          * monitor
>          * mesh point
>          * Unknown mode (8)
>          * Unknown mode (9)
>     Supported commands:
>          * new_interface
>          * set_interface
>          * new_key
>          * new_beacon
>          * new_station
>          * new_mpath
>          * set_mesh_params
>          * set_bss
>          * authenticate
>          * associate
>          * deauthenticate
>          * disassociate
>          * join_ibss
>          * Unknown command (68)
>          * Unknown command (55)
>          * Unknown command (57)
>          * Unknown command (59)
>          * Unknown command (67)
>          * set_wiphy_netns
>          * Unknown command (65)
>          * Unknown command (66)
>          * Unknown command (84)
>          * Unknown command (87)
>          * Unknown command (85)
>          * testmode
>          * connect
>          * disconnect
> In the "Supported interface modes" there are two "Unknow modes" but it
> supports "mesh point".
> In the "Supported commands:" there are some "Unknown commands" which I guess
> they should be
> "join_mesh","remain_on_channel" and so on.
> And it doesn't give the information "Supported TX frame types" and
> "Supported RX frame types".
> Could you give me some suggestions to solve my puzzle?< br>Thanks!

Try updating to the latest iw at http://git.sipsolutions.net/?p=iw.git

Thomas
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to