USB wifi Netgear WNDA3100v2 problem on 64bit

Hi
After having a lot of troubles with my PCI wifi card: Realtek RT2561/RT61, that either wouldn't connect or simply disconnect randomly but often when it was least needed. I decided that it was time to give up on this card and go for a new card. So I went to the local computer shop and bought a new card after consulting https://help.ubuntu.com/community/WifiD … sSupported. Sadly I wasn't aware of the version 1 and version 2 on the WNDA3100. So I thought that I bought version 1 but came home with version 2 of Netgears WNDA3100.
WNDA3100v2 is Broadcom based instead of atheros based. So I first tried the b43 driver but that didn't recognize the card. Then I thought lets go for the ndiswrapper and the windows driver, but that just crashes the ndiswrapper module when I insert the card. So right now I am beginning to fear I have two wifi controllers that don't work. So I hope that some of you can help with this.
lsusb gives this output:
Bus 001 Device 004: ID 0846:9011 NetGear, Inc. WNDA3100(v2) 802.11n
dmesg gives this output with the ndiswrapper module and the windows driver:
usb 1-1: new high speed USB device using ehci_hcd and address 4
ndiswrapper version 1.56 loaded (smp=yes, preempt=yes)
usb 1-1: reset high speed USB device using ehci_hcd and address 4
ndiswrapper (link_pe_images:565): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwlhigh5 (Netgear,05/05/2009, 5.10.79.30) loaded
BUG: unable to handle kernel paging request at 00000000ffffffd0
IP: [<ffffffffa071d830>] USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
PGD 7c674067 PUD 0
Oops: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/module/usbcore/initstate
CPU 0
Pid: 7644, comm: modprobe Tainted: P 2.6.33-ARCH #1 D945GCLF2/
RIP: 0010:[<ffffffffa071d830>] [<ffffffffa071d830>] USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
RSP: 0018:ffff88004c4a1748 EFLAGS: 00010286
RAX: ffffffffa071d830 RBX: ffff88005902e000 RCX: ffff880059078000
RDX: 0000000000000000 RSI: ffff88006d6eb800 RDI: 00000000ffffff38
RBP: ffff88006d6eb8d0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffa0710e20 R11: ffff88006d6eb918 R12: ffff8800592c2c00
R13: 0000000000000000 R14: ffff88006d6ea230 R15: ffff88006d6eba30
FS: 00007fdd8742c700(0000) GS:ffff880001800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000ffffffd0 CR3: 000000007c6fc000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 7644, threadinfo ffff88004c4a0000, task ffff88004c469560)
Stack:
ffffc9001ab55da8 ffff88005902e000 ffff88006d6eb8d0 ffff88006d6eb800
<0> ffff88004c4a1788 ffffffffa070c045 ffff88006d6ea230 0000000000000000
<0> ffff880059078000 ffffffffa071d9b0 ffffffffa071d990 ffffffffa071d7f0
Call Trace:
[<ffffffffa070c045>] ? NdisAllocateMemoryWithTag+0x15/0x30 [ndiswrapper]
[<ffffffffa071d9b0>] ? USBD_InterfaceReference+0x0/0x20 [ndiswrapper]
[<ffffffffa071d990>] ? USBD_InterfaceDereference+0x0/0x20 [ndiswrapper]
[<ffffffffa071d7f0>] ? USBD_InterfaceGetUSBDIVersion+0x0/0x40 [ndiswrapper]
[<ffffffffa071dec0>] ? USBD_InterfaceQueryBusTime+0x0/0x30 [ndiswrapper]
[<ffffffffa071d960>] ? USBD_InterfaceSubmitIsoOutUrb+0x0/0x30 [ndiswrapper]
[<ffffffffa071d930>] ? USBD_InterfaceQueryBusInformation+0x0/0x30 [ndiswrapper]
[<ffffffffa071d830>] ? USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
[<ffffffffa07117fa>] ? ExAllocatePoolWithTag+0x4a/0xa0 [ndiswrapper]
[<ffffffffa071f2bb>] ? win2lin3+0x11/0x14 [ndiswrapper]
[<ffffffffa0715361>] ? pdoDispatchPnp+0x51/0x510 [ndiswrapper]
[<ffffffffa071afca>] ? mp_init+0x6a/0x210 [ndiswrapper]
[<ffffffffa07132a1>] ? IoSyncForwardIrp+0x91/0xd0 [ndiswrapper]
[<ffffffffa071ca53>] ? NdisDispatchPnp+0xa3/0xc00 [ndiswrapper]
[<ffffffffa0713962>] ? IoInitializeIrp+0x32/0x70 [ndiswrapper]
[<ffffffffa0713a1d>] ? IoAllocateIrp+0x7d/0x90 [ndiswrapper]
[<ffffffffa071f2a7>] ? win2lin2+0xe/0x11 [ndiswrapper]
[<ffffffffa0712ad0>] ? IoReleaseCancelSpinLock+0x10/0x20 [ndiswrapper]
[<ffffffffa0712b45>] ? IofCallDriver+0x65/0xc0 [ndiswrapper]
[<ffffffff8135d42f>] ? _raw_spin_unlock_bh+0x1f/0x30
[<ffffffffa0712ad0>] ? IoReleaseCancelSpinLock+0x10/0x20 [ndiswrapper]
[<ffffffffa0712b19>] ? IofCallDriver+0x39/0xc0 [ndiswrapper]
[<ffffffffa07148e8>] ? IoSendIrpTopDev+0xd8/0x120 [ndiswrapper]
[<ffffffff8135d42f>] ? _raw_spin_unlock_bh+0x1f/0x30
[<ffffffffa07128b3>] ? IoAttachDeviceToDeviceStack+0x63/0x80 [ndiswrapper]
[<ffffffffa0714b97>] ? pnp_start_device+0x47/0x90 [ndiswrapper]
[<ffffffffa0714f4b>] ? wrap_pnp_start_device+0x1db/0x270 [ndiswrapper]
[<ffffffffa07150c9>] ? wrap_pnp_start_usb_device+0xe9/0x120 [ndiswrapper]
[<ffffffff8135b6c9>] ? mutex_unlock+0x9/0x10
[<ffffffffa025e6b8>] ? usb_autopm_do_device+0x78/0x120 [usbcore]
[<ffffffffa025f430>] ? usb_probe_interface+0xe0/0x1c0 [usbcore]
[<ffffffff8127b273>] ? driver_probe_device+0x93/0x1a0
[<ffffffff8127b413>] ? __driver_attach+0x93/0xa0
[<ffffffff8127b380>] ? __driver_attach+0x0/0xa0
[<ffffffff8127a8f8>] ? bus_for_each_dev+0x68/0x90
[<ffffffff8127b0c9>] ? driver_attach+0x19/0x20
[<ffffffff8127a0ad>] ? bus_add_driver+0xcd/0x2d0
[<ffffffff8127b718>] ? driver_register+0x78/0x140
[<ffffffff81188b0c>] ? sysfs_add_file+0xc/0x10
[<ffffffffa025f118>] ? usb_register_driver+0xb8/0x180 [usbcore]
[<ffffffffa04fd000>] ? wrapper_init+0x0/0xac [ndiswrapper]
[<ffffffffa0705a1b>] ? loader_init+0xcb/0x150 [ndiswrapper]
[<ffffffffa04fd077>] ? wrapper_init+0x77/0xac [ndiswrapper]
[<ffffffff81002047>] ? do_one_initcall+0x37/0x1a0
[<ffffffff8108ed17>] ? sys_init_module+0xd7/0x250
[<ffffffff81009fc2>] ? system_call_fastpath+0x16/0x1b
Code: 00 b8 00 02 00 00 83 79 1c 03 b9 10 01 00 00 0f 45 c1 89 46 04 c7 02 01 00 00 00 c9 c3 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 <48> 8b 87 98 00 00 00 55 48 89 e5 83 78 1c 03 c9 0f 94 c0 c3 66
RIP [<ffffffffa071d830>] USBD_InterfaceIsDeviceHighSpeed+0x0/0x20 [ndiswrapper]
RSP <ffff88004c4a1748>
CR2: 00000000ffffffd0
---[ end trace 7dccd262a535c10d ]---
Since I am using 64 bit I know I should use the 64bit windows driver with ndiswrapper but the inf file contains both a 32bit and a 64bit version, does ndiswrapper choose the correct version on its own? And if not do any of you know a good guide to how I can hack the file so it installs the 64bit version?
Any ideas on how to go on from here?

http://kbserver.netgear.com/release_notes/D103229.asp
This is where the version 1.0 drivers are. They say G4 only, but I have it working fine on my G3 400Mhz iMac. It was really slow with 128bit wep encryption, so I backed off to the 64bit on my router and it is plenty fast. Go to remember that the encryption is handled completely by the CPU on thes little guys.

Similar Messages

  • WIFI problems solved with D-Link USB WIFI adapter...

    I have a brand new Macbook Air and I have persistent problems connecting to my home wifi network. Sometimes I can connect to the router but not the internet, but usually Airport won't connect at all: it keeps asking me for the password for our home network (even though it's stored), so I re-enter the password, but it still can't connect. When it gets to this point I know that I either have to live without internet for the rest of the day, or disrupt my work and everyone else in the household by rebooting my computer and reseting the router (sometimes just one of these actions will work, but it's unpredictable).
    So I bought a D-Link DWA-125 USB wireless adapter and installed drivers from Ralink (http://www.ralinktech.com/support.php?s=3) and it pretty much solves the issue.
    I don't know what further proof Apple needs that this is a problem with the Air and not the internet/router/etc. It's rather comical that I have to use an ugly old USB adapter to get a brand new Macbook Air to connect to internet in my own home.

    vilayyyy wrote:
    I've had my Macbook for 2 yrs and the wifi basically never worked - only when I'm right next to the router, at school, or of course the Apple Store. I tried to get apple to fix it under AppleCare, but since it was working perfectly in the store, they said there was nothing they could do.
    If your Mac works well at school, or the Apple Store but not at home, the problem definetly  is not the Mac and therefore there is no need to buy a external usb wifi device.
    You better will fix the settings of your home router and after that your Mac will be fast and smooth on your home wifi.
    I've had only on very rare situations a problem with d-link routers over the years and think (if not damaged) even your d-link will work pretty good with your Mac.
    Would you be so kind and explain the settings of your home router and what model it is?
    Lupunus

  • USB wifi adapter can only handle one request or socket at a time

    I have a usb wifi adapter that I bought recently.  The strange thing is that if I'm doing only one thing that is using the network (e.g. downloading a file) it works good and fast. But say I'm downloading a file and I do ANYTHING else that uses the network (e.g. just opening a browser at google.ca), the download comes to a stop. Then if I close the browser, the download starts up again a couple seconds later, good and fast.
    Another example is, say I'm in a Google Hangouts (video chat) session. As long as that is the only thing I have running, the chat works fine. If I open a second browser window, then the chat gets super choppy and pretty much un-usable until I close the second window.
    So basically it seems like I can have only one open socket at a time, or else it can handle only one request at a time. Also, most webpages open very slowly as a result because the browser only seems to be able to download one static file at a time (e.g. js and css files needed by the page).
    I'm sure it's a problem with the usb wifi adapter because I didn't have these problems when I was on a wired connection, and I have other devices using wifi (e.g. laptops and tablets) that don't have this problem either.
    Rather than paste a bunch of output from commands, please kindly tell me what to run in order to gather any useful info.
    Thanks,
    Edit:  The adapter is an ASUS USB n-53 (N600).
    Last edited by Pacopag (2014-07-18 14:36:20)

    I was exploring the CD that came with the device.  Turns out there are Linux drivers on it.  I didn't install any drivers, as wicd detected it automatically.  I'm wondering if changing drivers might help.  Can someone help me interpret the installation instructions?
    Here are the instructions
    * README
    * Ralink Tech Inc.
    * http://www.ralinktech.com
    =======================================================================
    ModelName:
    ===========
    RT3572 Wireless Lan Linux Driver
    =======================================================================
    Driver lName:
    ===========
    rt3572sta.o/rt3572sta.ko
    =======================================================================
    Supporting Kernel:
    ===================
    linux kernel 2.4 and 2.6 series.
    Tested in Redhat 7.3 or later.
    =======================================================================
    Ralink Hardware:
    ===================
    Ralink 802.11n Wireless LAN Card.
    =======================================================================
    Description:
    =============
    This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.
    =======================================================================
    Contents:
    =============
    Makefile : Makefile
    *.c : c files
    *.h : header files
    =======================================================================
    Features:
    ==========
    This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
    open or shared or WPA-PSK or WPA2-PSK authentication method.
    NONE, WEP, TKIP and AES encryption.
    =======================================================================
    Build Instructions:
    ====================
    1> tar -jxvf 2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO.tar.bz2
    go to "./2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO" directory.
    2> switch to super user.
    ** for Fedora
    $su
    ** for Ubuntu
    $sudo su
    3> in Makefile
    set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
    define the linux kernel source include file path LINUX_SRC
    modify to meet your need.
    4> in os/linux/config.mk
    define the GCC and LD of the target machine
    define the compiler flags CFLAGS
    modify to meet your need.
    ** Build for being controlled by NetworkManager or wpa_supplicant wext functions
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
    => #>cd wpa_supplicant-x.x
    => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
    ** Build for being controlled by WpaSupplicant with Ralink Driver
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
    => #>cd wpa_supplicant-0.5.7
    => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
    5> compile driver source code
    $make
    =======================================================================
    Install Instructions:
    ================================
    1> load driver
    $make install
    2> plug in USB dongle.
    =======================================================================
    Note:
    ================================
    Under Fedora 15 or 16, after you install the driver, if there is "firmware missing" issue occurs, please follow the following steps:
    1> remove driver
    $rmmod rt2800usb
    $rmmod rt2800lib
    $rmmod rt2x00usb
    $rmmod rt2x00lib
    2> enter /etc/modprobe.d and edit blacklist.conf. Add one line (ususally add it in the buttom of the file):
    blacklist rt2800usb
    3> reboot system
    $reboot
    =======================================================================
    Uninstall Instructions:
    ================================
    1> go to "./2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO" directory.
    2> switch to super user.
    $sudo su
    3> unload driver
    $make uninstall
    4> reboot system
    $reboot
    =======================================================================
    CONFIGURATION:
    ====================
    RT2870 driver can be configured via following interfaces,
    i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file
    i) iwconfig comes with kernel.
    ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
    iii)modify configuration file "RT2870STA.dat" in /etc/Wireless/RT2870STA/RT2870STA.dat.
    Configuration File : RT2870STA.dat
    # Copy this file to /etc/Wireless/RT2870STA/RT2870STA.dat
    # This file is a binary file and will be read on loading rt.o module.
    # Use "vi RT2870STA.dat" to modify settings according to your need.
    # 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
    # 2.) set Channel to "0" for auto-select on Infrastructure mode
    # 3.) set SSID for connecting to your Accss-point.
    # 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
    # 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
    # for more information refer to the Readme file.
    #The word of "Default" must not be removed
    Default
    CountryRegion=5
    CountryRegionABand=7
    CountryCode=
    SSID=Dennis2860AP
    NetworkType=Infra
    WirelessMode=9
    Channel=0
    BeaconPeriod=100
    TxPower=100
    BGProtection=0
    TxPreamble=0
    RTSThreshold=2347
    FragThreshold=2346
    TxBurst=1
    WmmCapable=0
    AckPolicy=0;0;0;0
    AuthMode=OPEN
    EncrypType=NONE
    WPAPSK=
    DefaultKeyID=1
    Key1Type=0
    Key1Str=
    Key2Type=0
    Key2Str=
    Key3Type=0
    Key3Str=
    Key4Type=0
    Key4Str=
    PSMode=CAM
    FastRoaming=0
    RoamThreshold=70
    HT_RDG=1
    HT_EXTCHA=0
    HT_OpMode=1
    HT_MpduDensity=4
    HT_BW=1
    HT_AutoBA=1
    HT_BADecline=0
    HT_AMSDU=0
    HT_BAWinSize=64
    HT_GI=1
    HT_MCS=33
    HT_MIMOPSMode=3
    IEEE80211H=0
    TGnWifiTest=0
    WirelessEvent=0
    CarrierDetect=0
    *NOTE:
    WMM parameters
    WmmCapable Set it as 1 to turn on WMM Qos support
    AckPolicy1~4 Ack policy which support normal Ack or no Ack
    (AC_BK, AC_BE, AC_VI, AC_VO)
    All WMM parameters do not support iwpriv command but ¡¥WmmCapable¡¦¡¦,
    please store all parameter to RT2870STA.dat, and restart driver.
    syntax is 'Param'='Value' and describes below.
    @> CountryRegion=value
    value
    0: use 1 ~ 11 Channel
    1: use 1 ~ 13 Channel
    2: use 10 ~ 11 Channel
    3: use 10 ~ 13 Channel
    4: use 14 Channel
    5: use 1 ~ 14 Channel
    6: use 3 ~ 9 Channel
    7: use 5 ~ 13 Channel
    31: use 1 ~ 14 Channel (ch1-11:active scan, ch12-14 passive scan)
    @> CountryRegionABand=value
    value
    0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
    1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
    2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
    3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
    4: use 149, 153, 157, 161, 165 Channel
    5: use 149, 153, 157, 161 Channel
    6: use 36, 40, 44, 48 Channel
    7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel
    8: use 52, 56, 60, 64 Channel
    9: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 Channel
    10: use 36, 40, 44, 48, 149, 153, 157, 161, 165 Channel
    11: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 Channel
    @> CountryCode=value
    value
    AG, AR, AW, AU, AT, BS, BB, BM, BR, BE, BG, CA, KY, CL, CN, CO, CR, CY, CZ, DK, DO, EC, SV, FI, FR, DE,
    GR, GU, GT, HT, HN, HK, HU, IS, IN, ID, IE, IL, IT, JP, JO, LV, LI, LT, LU, MY, MT, MA, MX, NL, NZ, NO,
    PE, PT, PL, RO, RU, SA, CS, SG, SK, SI, ZA, KR, ES, SE, CH, TW, TR, GB, UA, AE, US, VE
    "" => using default setting: 2.4 G - ch 1~11; 5G - ch 52~64, 100~140, 149~165
    @> SSID=value
    value
    0~z, 1~32 ascii characters.
    @> WirelessMode=value
    value
    0: legacy 11b/g mixed
    1: legacy 11B only
    2: legacy 11A only //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
    3: legacy 11a/b/g mixed //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
    4: legacy 11G only
    5: 11ABGN mixed
    6: 11N only
    7: 11GN mixed
    8: 11AN mixed
    9: 11BGN mixed
    10: 11AGN mixed
    @> Channel=value
    value
    depends on CountryRegion or CountryRegionABand
    @> BGProtection=value
    value
    0: Auto
    1: Always on
    2: Always off
    @> TxPreamble=value
    value
    0:Preamble Long
    1:Preamble Short
    2:Auto
    @> RTSThreshold=value
    value
    1~2347
    @> FragThreshold=value
    value
    256~2346
    @> TxBurst=value
    value
    0: Disable
    1: Enable
    @> NetworkType=value
    value
    Infra: infrastructure mode
    Adhoc: adhoc mode
    @> AuthMode=value
    value
    OPEN For open system
    SHARED For shared key system
    WEPAUTO Auto switch between OPEN and SHARED
    WPAPSK For WPA pre-shared key (Infra)
    WPA2PSK For WPA2 pre-shared key (Infra)
    WPANONE For WPA pre-shared key (Adhoc)
    WPA Use WPA-Supplicant
    WPA2 Use WPA-Supplicant
    @> EncrypType=value
    value
    NONE For AuthMode=OPEN
    WEP For AuthMode=OPEN or AuthMode=SHARED
    TKIP For AuthMode=WPAPSK or WPA2PSK
    AES For AuthMode=WPAPSK or WPA2PSK
    @> DefaultKeyID=value
    value
    1~4
    @> Key1=value
    Key2=value
    Key3=value
    Key4=value
    value
    10 or 26 hexadecimal characters eg: 012345678
    5 or 13 ascii characters eg: passd
    (usage : "iwpriv" only)
    @> Key1Type=vaule
    Key2Type=value
    Key3Type=vaule
    Key4Type=vaule
    value
    0 hexadecimal type
    1 assic type
    (usage : reading profile only)
    @> Key1Str=value
    Key2Str=value
    Key3Str=vaule
    Key4Str=vaule
    value
    10 or 26 characters (key type=0)
    5 or 13 characters (key type=1)
    (usage : reading profile only)
    @> WPAPSK=value
    value
    8~63 ASCII or
    64 HEX characters
    @> WmmCapable=value
    value
    0: Disable WMM
    1: Enable WMM
    @> PSMode=value
    value
    CAM Constantly Awake Mode
    Max_PSP Max Power Savings
    Fast_PSP Power Save Mode
    @> FastRoaming=value
    value
    0 Disabled
    1 Enabled
    @> RoamThreshold=value
    value
    Positive Interger(dBm)
    @> HT_RDG=value
    value
    0 Disabled
    1 Enabled
    @> HT_EXTCHA=value (Extended Channel Switch Announcement)
    value
    0 Below
    1 Above
    @> HT_OpMode=value
    value
    0 HT mixed format
    1 HT greenfield format
    @> HT_MpduDensity=value
    value (based on 802.11n D2.0)
    0: no restriction
    1: 1/4 £gs
    2: 1/2 £gs
    3: 1 £gs
    4: 2 £gs
    5: 4 £gs
    6: 8 £gs
    7: 16 £gs
    @> HT_BW=value
    value
    0 20MHz
    1 40MHz
    @> HT_AutoBA=value
    value
    0 Disabled
    1 Enabled
    @> HT_BADecline
    value
    0 Disabled
    1 Enabled <Reject BA request from AP>
    @> HT_AMSDU=value
    value
    0 Disabled
    1 Enabled
    @> HT_BAWinSize=value
    value
    1 ~ 64
    @> HT_GI=value
    value
    0 long GI
    1 short GI
    @> HT_MCS=value
    value
    0 ~ 15
    33: auto
    @> HT_MIMOPSMode=value
    value (based on 802.11n D2.0)
    0 Static SM Power Save Mode
    1 Dynamic SM Power Save Mode
    2 Reserved
    3 SM enabled
    (not fully support yet)
    @> IEEE80211H=value
    value
    0 Disabled
    1 Enabled
    @> TGnWifiTest=value
    value
    0 Disabled
    1 Enabled
    @> WirelessEvent=value
    value
    0 Disabled
    1 Enabled <send custom wireless event>
    @> CarrierDetect=value
    value
    0 Disabled
    1 Enabled
    MORE INFORMATION
    =================================================================================
    If you want for rt2870 driver to auto-load at boot time:
    A) choose ra0 for first RT2870 WLAN card, ra1 for second RT2870 WLAN card, etc.
    B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/,
    edit( or add the line) in /etc/modules.conf:
    alias ra0 rt2870sta
    C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0
    DEVICE='ra0'
    ONBOOT='yes'
    NOTE:
    if you use dhcp, add this line too .
    BOOTPROTO='dhcp'
    *D) To ease the Default Gateway setting,
    add the line
    GATEWAY=x.x.x.x
    in /etc/sysconfig/network
    Here is the Makefile
    RT28xx_MODE = STA
    TARGET = LINUX
    CHIPSET = 3572
    OSABL = NO
    #RT28xx_DIR = home directory of RT28xx source code
    RT28xx_DIR = $(shell pwd)
    RTMP_SRC_DIR = $(RT28xx_DIR)/RT$(CHIPSET)
    #PLATFORM: Target platform
    PLATFORM = PC
    #PLATFORM = 5VT
    #PLATFORM = IKANOS_V160
    #PLATFORM = IKANOS_V180
    #PLATFORM = SIGMA
    #PLATFORM = SIGMA_8622
    #PLATFORM = STAR
    #PLATFORM = IXP
    #PLATFORM = INF_TWINPASS
    #PLATFORM = INF_DANUBE
    #PLATFORM = INF_AR9
    #PLATFORM = INF_VR9
    #PLATFORM = BRCM_6358
    #PLATFORM = INF_AMAZON_SE
    #PLATFORM = CAVM_OCTEON
    #PLATFORM = CMPC
    #PLATFORM = RALINK_2880
    #PLATFORM = RALINK_3052
    #PLATFORM = SMDK
    #PLATFORM = RMI
    #PLATFORM = RMI_64
    #PLATFORM = KODAK_DC
    #PLATFORM = DM6446
    #PLATFORM = FREESCALE8377
    #PLATFORM = BL2348
    #PLATFORM = BLUBB
    #PLATFORM = BLPMP
    #PLATFORM = MT85XX
    #PLATFORM = NXP_TV550
    #PLATFORM = MVL5
    ifeq ($(TARGET),LINUX)
    MAKE = make
    endif
    ifeq ($(PLATFORM),5VT)
    LINUX_SRC = /home/ralink-2860-sdk-5vt-distribution/linux-2.6.17
    CROSS_COMPILE = /opt/crosstool/uClibc_v5te_le_gcc_4_1_1/bin/arm-linux-
    endif
    ifeq ($(PLATFORM),IKANOS_V160)
    LINUX_SRC = /home/sample/projects/LX_2618_RG_5_3_00r4_SRC/linux-2.6.18
    CROSS_COMPILE = mips-linux-
    endif
    ifeq ($(PLATFORM),IKANOS_V180)
    LINUX_SRC = /home/sample/projects/LX_BSP_VX180_5_4_0r1_ALPHA_26DEC07/linux-2.6.18
    CROSS_COMPILE = mips-linux-
    endif
    ifeq ($(PLATFORM),SIGMA)
    LINUX_SRC = /root/sigma/smp86xx_kernel_source_2.7.172.0/linux-2.6.15
    CROSS_COMPILE = /root/sigma/smp86xx_toolchain_2.7.172.0/build_mipsel_nofpu/staging_dir/bin/mipsel-linux-
    endif
    ifeq ($(PLATFORM),SIGMA_8622)
    LINUX_SRC = /home/snowpin/armutils_2.5.120.1/build_arm/linux-2.4.22-em86xx
    CROSS_COMPILE = /home/snowpin/armutils_2.5.120.1/toolchain/bin/arm-elf-
    CROSS_COMPILE_INCLUDE = /home/snowpin/armutils_2.5.120.1/toolchain/lib/gcc-lib/arm-elf/2.95.3
    endif
    ifeq ($(PLATFORM),STAR)
    LINUX_SRC = /opt/star/kernel/linux-2.4.27-star
    CROSS_COMPILE = /opt/star/tools/arm-linux/bin/arm-linux-
    endif
    ifeq ($(PLATFORM),RMI)
    LINUX_SRC = /opt/rmi/1.7.0/linux/src/
    CROSS_COMPILE = /opt/rmi/1.7.0/mipscross/nptl/bin/mips64-unknown-linux-gnu-
    endif
    ifeq ($(PLATFORM),RMI_64)
    LINUX_SRC = /opt/rmi/1.7.0/linux_64/src/
    CROSS_COMPILE = /opt/rmi/1.7.0/mipscross/nptl/bin/mips64-unknown-linux-gnu-
    endif
    ifeq ($(PLATFORM), RALINK_2880)
    LINUX_SRC = /project/stable/RT288x/RT288x_SDK/source/linux-2.4.x
    CROSS_COMPILE = /opt/buildroot-gdb/bin/mipsel-linux-
    endif
    ifeq ($(PLATFORM),RALINK_3052)
    LINUX_SRC = /home/peter/ap_soc/SDK_3_3_0_0/RT288x_SDK/source/linux-2.6.21.x
    CROSS_COMPILE = /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-
    endif
    ifeq ($(PLATFORM),FREESCALE8377)
    LINUX_SRC = /opt/ltib-mpc8377_rds-20090309/rpm/BUILD/linux-2.6.25
    CROSS_COMPILE = /opt/freescale/usr/local/gcc-4.2.187-eglibc-2.5.187/powerpc-linux-gnu/bin/powerpc-linux-gnu-
    endif
    ifeq ($(PLATFORM),BL2348)
    LINUX_SRC = /home/sample/Customers/BroadLight/bl234x-linux-2.6.21-small-v29
    CROSS_COMPILE = mips-wrs-linux-gnu-
    endif
    ifeq ($(PLATFORM),BLUBB)
    LINUX_SRC = /home/sample/Customers/BroadLight/UBB/gmp20/linux-2.6.21-small
    CROSS_COMPILE = mips-wrs-linux-gnu-
    endif
    ifeq ($(PLATFORM),BLPMP)
    LINUX_SRC = /home/sample/Customers/BroadLight/UBB/pmp16/bl234x-linux-2.6.21-small-v30.2
    CROSS_COMPILE = mips-wrs-linux-gnu-
    endif
    ifeq ($(PLATFORM),PC)
    # Linux 2.6
    LINUX_SRC = /lib/modules/$(shell uname -r)/build
    # Linux 2.4 Change to your local setting
    #LINUX_SRC = /usr/src/linux-2.4
    LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
    CROSS_COMPILE =
    endif
    ifeq ($(PLATFORM),IXP)
    LINUX_SRC = /project/stable/Gmtek/snapgear-uclibc/linux-2.6.x
    CROSS_COMPILE = arm-linux-
    endif
    ifeq ($(PLATFORM),INF_TWINPASS)
    # Linux 2.6
    #LINUX_SRC = /lib/modules/$(shell uname -r)/build
    # Linux 2.4 Change to your local setting
    LINUX_SRC = /project/stable/twinpass/release/2.0.1/source/kernel/opensource/linux-2.4.31/
    CROSS_COMPILE = mips-linux-
    endif
    ifeq ($(PLATFORM),INF_DANUBE)
    LINUX_SRC = /opt/danube/sdk/linux-2.6.16.x
    CROSS_COMPILE = mips-linux-
    ROOTDIR = /opt/danube/sdk
    export ROOTDIR
    endif
    ifeq ($(PLATFORM),INF_AR9)
    LINUX_SRC = /root/ar9/xR9_BSP1.2.2.0/source/kernel/opensource/linux-2.6.20/
    CROSS_COMPILE = /root/ar9/ifx-lxdb26-1.0.2/gcc-3.4.4/toolchain-mips/bin/
    endif
    ifeq ($(PLATFORM),INF_VR9)
    LINUX_SRC = /home/public/lantiq/VR9/UGW-4.2/build_dir/linux-ifxcpe_platform_vr9/linux-2.6.20.19
    CROSS_COMPILE = /home/public/lantiq/VR9/UGW-4.2/staging_dir/toolchain-mips_gcc-3.4.6_uClibc-0.9.29/bin/mips-linux-
    endif
    ifeq ($(PLATFORM),BRCM_6358)
    LINUX_SRC =
    CROSS_COMPILE =
    endif
    ifeq ($(PLATFORM),INF_AMAZON_SE)
    # Linux 2.6
    #LINUX_SRC = /lib/modules/$(shell uname -r)/build
    # Linux 2.4 Change to your local setting
    LINUX_SRC = /backup/ifx/3.6.2.2/source/kernel/opensource/linux-2.4.31
    #CROSS_COMPILE = mips-linux-
    #LINUX_SRC = /project/Infineon/3.6.2.2/source/kernel/opensource/linux-2.4.31
    CROSS_COMPILE = /opt/uclibc-toolchain/ifx-lxdb-1-2-3-external/gcc-3.3.6/toolchain-mips/R0208V35/mips-linux-uclibc/bin/
    endif
    ifeq ($(PLATFORM),ST)
    LINUX_SRC = /opt/STM/STLinux-2.2/devkit/sources/kernel/linux0039
    CROSS_COMPILE = /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-
    ARCH := sh
    export ARCH
    endif
    ifeq ($(PLATFORM),CAVM_OCTEON)
    OCTEON_ROOT = /usr/local/Cavium_Networks/OCTEON-SDK
    LINUX_SRC = $(OCTEON_ROOT)/linux/kernel_2.6/linux
    CROSS_COMPILE = mips64-octeon-linux-gnu-
    endif
    ifeq ($(PLATFORM),CMPC)
    LINUX_SRC = /opt/fvt_11N_SDK_0807/fvt131x_SDK_11n/linux-2.6.17
    CROSS_COMPILE =
    endif
    ifeq ($(PLATFORM),SMDK)
    LINUX_SRC = /home/bhushan/itcenter/may28/linux-2.6-samsung
    CROSS_COMPILE = /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-
    endif
    ifeq ($(PLATFORM),KODAK_DC)
    SKD_SRC = C:/SigmaTel/DC1250_SDK_v1-9/sdk
    CROSS_COMPILE = $(cc)
    endif
    ifeq ($(PLATFORM),DM6446)
    LINUX_SRC = /home/fonchi/work/soc/ti-davinci
    endif
    ifeq ($(PLATFORM),MT85XX)
    LINUX_SRC = /home/john/MTK/BDP_Linux/linux-2.6.27
    CROSS_COMPILE = armv6z-mediatek-linux-gnueabi-
    endif
    ifeq ($(PLATFORM),NXP_TV550)
    LINUX_SRC = /data/tv550/kernel/linux-2.6.28.9
    LINUX_SRC_MODULE = /data/tv550/kernel/linux-2.6.28.9/drivers/net/wireless
    CROSS_COMPILE = /opt/embeddedalley/nxp_tv550/bin/mipsel-linux-
    endif
    ifeq ($(PLATFORM),MVL5)
    LINUX_SRC = /home2/charlestu/AP-VT3426/linux-2.6.18
    CROSS_COMPILE = /opt/montavista/pro/devkit/arm/v5t_le_mvl5/bin/arm_v5t_le-
    endif
    export OSABL RT28xx_DIR RT28xx_MODE LINUX_SRC CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE CHIPSET RTMP_SRC_DIR LINUX_SRC_MODULE TARGET
    # The targets that may be used.
    PHONY += all build_tools test UCOS THREADX LINUX release prerelease clean uninstall install libwapi osabl
    all: build_tools $(TARGET)
    build_tools:
    $(MAKE) -C tools
    $(RT28xx_DIR)/tools/bin2h
    test:
    $(MAKE) -C tools test
    LINUX:
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile
    $(MAKE) -C $(RT28xx_DIR)/os/linux/
    cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
    else
    cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile
    ifeq ($(PLATFORM),DM6446)
    $(MAKE) ARCH=arm CROSS_COMPILE=arm_v5t_le- -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
    else
    ifeq ($(PLATFORM),FREESCALE8377)
    $(MAKE) ARCH=powerpc CROSS_COMPILE=$(CROSS_COMPILE) -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
    else
    $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
    endif
    endif
    endif
    clean:
    ifeq ($(TARGET), LINUX)
    cp -f os/linux/Makefile.clean os/linux/Makefile
    $(MAKE) -C os/linux clean
    rm -rf os/linux/Makefile
    endif
    uninstall:
    ifeq ($(TARGET), LINUX)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.4 uninstall
    else
    $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.6 uninstall
    endif
    endif
    install:
    ifeq ($(TARGET), LINUX)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.4 install
    else
    $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.6 install
    endif
    endif
    # Declare the contents of the .PHONY variable as phony. We keep that information in a variable
    .PHONY: $(PHONY)
    Here is the config.mk
    # Support ATE function
    HAS_ATE=n
    # Support ATE NEW TXCONT solution
    HAS_NEW_TXCONT=n
    # Support QA ATE function
    HAS_QA_SUPPORT=n
    # Support XLINK mode
    HAS_XLINK=n
    # Support Wpa_Supplicant
    HAS_WPA_SUPPLICANT=y
    # Support Native WpaSupplicant for Network Maganger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
    #Support Net interface block while Tx-Sw queue full
    HAS_BLOCK_NET_IF=n
    #Support DFS function
    HAS_DFS_SUPPORT=n
    #Support Carrier-Sense function
    HAS_CS_SUPPORT=n
    # Support for Multiple Cards
    HAS_MC_SUPPORT=n
    #Support for IEEE802.11e DLS
    HAS_QOS_DLS_SUPPORT=n
    #Support for EXT_CHANNEL
    HAS_EXT_BUILD_CHANNEL_LIST=n
    #Support for Net-SNMP
    HAS_SNMP_SUPPORT=n
    #Support features of 802.11n Draft3
    HAS_DOT11N_DRAFT3_SUPPORT=y
    #Support features of Single SKU.
    HAS_SINGLE_SKU_SUPPORT=n
    #Support features of 802.11n
    HAS_DOT11_N_SUPPORT=y
    HAS_KTHREAD_SUPPORT=n
    #Support statistics count
    HAS_STATS_COUNT=y
    #Support USB_BULK_BUF_ALIGMENT
    HAS_USB_BULK_BUF_ALIGMENT=n
    #Support for USB_SUPPORT_SELECTIVE_SUSPEND
    HAS_USB_SUPPORT_SELECTIVE_SUSPEND=n
    #Client support WDS function
    HAS_CLIENT_WDS_SUPPORT=n
    #Support for Bridge Fast Path & Bridge Fast Path function open to other module
    HAS_BGFP_SUPPORT=n
    HAS_BGFP_OPEN_SUPPORT=n
    #Support MAC80211 LINUX-only function
    HAS_CFG80211_SUPPORT=n
    #Support RFKILL hardware block/unblock LINUX-only function
    HAS_RFKILL_HW_SUPPORT=n
    HAS_RESOURCE_PRE_ALLOC=y
    HAS_LED_CONTROL_SUPPORT=y
    CC := $(CROSS_COMPILE)gcc
    LD := $(CROSS_COMPILE)ld
    WFLAGS := -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs
    WFLAGS += -DSYSTEM_LOG_SUPPORT -DRT28xx_MODE=$(RT28xx_MODE) -DCHIPSET=$(CHIPSET)
    ifeq ($(HAS_RESOURCE_PRE_ALLOC),y)
    WFLAGS += -DRESOURCE_PRE_ALLOC
    endif
    ifeq ($(HAS_KTHREAD_SUPPORT),y)
    WFLAGS += -DKTHREAD_SUPPORT
    endif
    # config for STA mode
    ifeq ($(RT28xx_MODE),STA)
    WFLAGS += -DCONFIG_STA_SUPPORT -DDBG
    ifeq ($(HAS_XLINK),y)
    WFLAGS += -DXLINK_SUPPORT
    endif
    ifeq ($(HAS_WPA_SUPPLICANT),y)
    WFLAGS += -DWPA_SUPPLICANT_SUPPORT
    ifeq ($(HAS_NATIVE_WPA_SUPPLICANT_SUPPORT),y)
    WFLAGS += -DNATIVE_WPA_SUPPLICANT_SUPPORT -DCREDENTIAL_STORE -DPROFILE_STORE
    endif
    endif
    ifeq ($(HAS_ATE),y)
    WFLAGS += -DRALINK_ATE
    WFLAGS += -DCONFIG_RT2880_ATE_CMD_NEW
    ifeq ($(HAS_NEW_TXCONT),y)
    WFLAGS += -DNEW_TXCONT
    endif
    ifeq ($(HAS_QA_SUPPORT),y)
    WFLAGS += -DRALINK_QA
    endif
    endif
    ifeq ($(HAS_SNMP_SUPPORT),y)
    WFLAGS += -DSNMP_SUPPORT
    endif
    ifeq ($(HAS_QOS_DLS_SUPPORT),y)
    WFLAGS += -DQOS_DLS_SUPPORT
    endif
    ifeq ($(HAS_DOT11_N_SUPPORT),y)
    WFLAGS += -DDOT11_N_SUPPORT
    ifeq ($(HAS_DOT11N_DRAFT3_SUPPORT),y)
    WFLAGS += -DDOT11N_DRAFT3
    endif
    endif
    ifeq ($(HAS_CS_SUPPORT),y)
    WFLAGS += -DCARRIER_DETECTION_SUPPORT
    endif
    ifeq ($(HAS_STATS_COUNT),y)
    WFLAGS += -DSTATS_COUNT_SUPPORT
    endif
    ifeq ($(HAS_USB_SUPPORT_SELECTIVE_SUSPEND),y)
    WFLAGS += -DUSB_SUPPORT_SELECTIVE_SUSPEND -DCONFIG_PM
    endif
    ifeq ($(HAS_CFG80211_SUPPORT),y)
    WFLAGS += -DRT_CFG80211_SUPPORT
    ifeq ($(HAS_RFKILL_HW_SUPPORT),y)
    WFLAGS += -DRFKILL_HW_SUPPORT
    endif
    endif
    endif
    # endif of ifeq ($(RT28xx_MODE),STA)
    # Common compiler flag
    ifeq ($(HAS_EXT_BUILD_CHANNEL_LIST),y)
    WFLAGS += -DEXT_BUILD_CHANNEL_LIST
    endif
    ifeq ($(HAS_IDS_SUPPORT),y)
    WFLAGS += -DIDS_SUPPORT
    endif
    ifeq ($(OSABL),YES)
    WFLAGS += -DEXPORT_SYMTAB
    endif
    ifeq ($(HAS_CLIENT_WDS_SUPPORT),y)
    WFLAGS += -DCLIENT_WDS
    endif
    ifeq ($(HAS_BGFP_SUPPORT),y)
    WFLAGS += -DBG_FT_SUPPORT
    endif
    ifeq ($(HAS_BGFP_OPEN_SUPPORT),y)
    WFLAGS += -DBG_FT_OPEN_SUPPORT
    endif
    ifeq ($(HAS_LED_CONTROL_SUPPORT),y)
    WFLAGS += -DLED_CONTROL_SUPPORT
    endif
    # ChipSet specific definitions.
    ifeq ($(CHIPSET),2870)
    WFLAGS +=-DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRT28xx -DRTMP_TIMER_TASK_SUPPORT -DA_BAND_SUPPORT
    CHIPSET_DAT = 2870
    ifeq ($(HAS_DFS_SUPPORT),y)
    WFLAGS += -DDFS_SOFTWARE_SUPPORT
    endif
    endif
    ifeq ($(CHIPSET),3572)
    WFLAGS +=-DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRT28xx -DRT30xx -DRT35xx -DRTMP_TIMER_TASK_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DSPECIFIC_VCORECAL_SUPPORT
    CHIPSET_DAT = 2870
    ifeq ($(HAS_DFS_SUPPORT),y)
    WFLAGS += -DDFS_SOFTWARE_SUPPORT
    endif
    endif
    ifeq ($(PLATFORM),5VT)
    #WFLAGS += -DCONFIG_5VT_ENHANCE
    endif
    ifeq ($(HAS_BLOCK_NET_IF),y)
    WFLAGS += -DBLOCK_NET_IF
    endif
    ifeq ($(HAS_DFS_SUPPORT),y)
    WFLAGS += -DDFS_SUPPORT
    endif
    ifeq ($(HAS_MC_SUPPORT),y)
    WFLAGS += -DMULTIPLE_CARD_SUPPORT
    endif
    ifeq ($(PLATFORM),RMI)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),BL2348)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),BLUBB)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),BLPMP)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),RMI_64)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),IXP)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),IKANOS_V160)
    WFLAGS += -DRT_BIG_ENDIAN -DIKANOS_VX_1X0
    endif
    ifeq ($(PLATFORM),IKANOS_V180)
    WFLAGS += -DRT_BIG_ENDIAN -DIKANOS_VX_1X0
    endif
    ifeq ($(PLATFORM),INF_TWINPASS)
    WFLAGS += -DRT_BIG_ENDIAN -DINF_TWINPASS
    endif
    ifeq ($(PLATFORM),INF_DANUBE)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    # Linux 2.4
    WFLAGS += -DINF_DANUBE -DRT_BIG_ENDIAN
    else
    # Linux 2.6
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    endif
    ifeq ($(PLATFORM),INF_AR9)
    WFLAGS += -DRT_BIG_ENDIAN -DINF_AR9
    # support MAPI function for AR9.
    #WFLAGS += -DAR9_MAPI_SUPPORT
    endif
    ifeq ($(PLATFORM),INF_VR9)
    WFLAGS += -DRT_BIG_ENDIAN -DINF_AR9 -DINF_VR9
    endif
    ifeq ($(PLATFORM),CAVM_OCTEON)
    WFLAGS += -DRT_BIG_ENDIAN
    endif
    ifeq ($(PLATFORM),BRCM_6358)
    WFLAGS += -DRT_BIG_ENDIAN -DBRCM_6358
    endif
    ifeq ($(PLATFORM),INF_AMAZON_SE)
    WFLAGS += -DRT_BIG_ENDIAN -DINF_AMAZON_SE
    endif
    ifeq ($(PLATFORM),RALINK_3052)
    WFLAGS += -DPLATFORM_RALINK_3052
    endif
    ifeq ($(PLATFORM),FREESCALE8377)
    #EXTRA_CFLAGS := -v -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include $(WFLAGS)-O2 -Wall -Wstrict-prototypes -Wno-trigraphs
    #export EXTRA_CFLAGS
    WFLAGS += -DRT_BIG_ENDIAN
    EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include
    endif
    ifeq ($(PLATFORM),ST)
    #WFLAGS += -DST
    WFLAGS += -DST
    endif
    #kernel build options for 2.4
    # move to Makefile outside LINUX_SRC := /opt/star/kernel/linux-2.4.27-star
    ifeq ($(PLATFORM),RALINK_3052)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -march=mips2 -mabi=32 -Wa,--trap -DLINUX -nostdinc -iwithprefix include $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM), RALINK_2880)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -march=mips2 -mabi=32 -Wa,--trap -DLINUX -nostdinc -iwithprefix include $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),STAR)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mshort-load-bytes -msoft-float -Uarm -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),SIGMA)
    CFLAGS := -D__KERNEL__ -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_REVISION=6 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT2860_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -DMODULE $(WFLAGS) -DSIGMA863X_PLATFORM
    export CFLAGS
    endif
    ifeq ($(PLATFORM),SIGMA_8622)
    CFLAGS := -D__KERNEL__ -I$(CROSS_COMPILE_INCLUDE)/include -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -DMODULE -mshort-load-bytes -nostdinc -iwithprefix -DMODULE $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),5VT)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm926ej-s --param max-inline-insns-single=40000 -Uarm -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),IKANOS_V160)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT28xx_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -march=lx4189 -Wa, -DMODULE $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),IKANOS_V180)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT28xx_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mips32r2 -Wa, -DMODULE $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),INF_TWINPASS)
    CFLAGS := -D__KERNEL__ -DMODULE -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -march=4kc -mips32 -Wa,--trap -pipe -mlong-calls $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),INF_DANUBE)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    CFLAGS := -I$(RT28xx_DIR)/include $(WFLAGS) -Wundef -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -I$(LINUX_SRC)/include/asm-mips/mach-generic
    else
    CFLAGS := -I$(RT28xx_DIR)/include $(WFLAGS) -Wundef -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I$(LINUX_SRC)/include/asm-mips/mach-generic
    endif
    export CFLAGS
    endif
    ifeq ($(PLATFORM),INF_AR9)
    CFLAGS := -I$(RT28xx_DIR)/include $(WFLAGS) -Wundef -fno-strict-aliasing -fno-common -fno-pic -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -mlong-calls -march=mips32r2 -mtune=34kc -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I$(LINUX_SRC)/include/asm-mips/mach-generic
    export CFLAGS
    endif
    ifeq ($(PLATFORM),INF_VR9)
    CFLAGS := -I$(RT28xx_DIR)/include $(WFLAGS) -Wundef -fno-strict-aliasing -fno-common -fno-pic -ffreestanding -Os -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -mabi=32 -mlong-calls -march=mips32r2 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I$(LINUX_SRC)/include/asm-mips/mach-generic
    export CFLAGS
    endif
    ifeq ($(PLATFORM),BRCM_6358)
    CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include -nostdinc -iwithprefix include -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -I $(LINUX_SRC)/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -I$(LINUX_SRC)/include/asm-mips/mach-bcm963xx -I$(LINUX_SRC)/include/asm-mips/mach-generic -Os -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -mlong-calls
    export CFLAGS
    endif
    ifeq ($(PLATFORM),INF_AMAZON_SE)
    CFLAGS := -D__KERNEL__ -DMODULE=1 -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -DCONFIG_IFX_ALG_QOS -DCONFIG_WAN_VLAN_SUPPORT -fomit-frame-pointer -DIFX_PPPOE_FRAME -G 0 -fno-pic -mno-abicalls -mlong-calls -pipe -finline-limit=100000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -nostdinc -iwithprefix include $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),ST)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -Wall -O2 -Wundef -Wstrict-prototypes -Wno-trigraphs -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-aliasing -fno-common -fomit-frame-pointer -ffreestanding -m4-nofpu -o $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),PC)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    # Linux 2.4
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)
    export CFLAGS
    else
    # Linux 2.6
    EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include
    endif
    endif
    #If the kernel version of RMI is newer than 2.6.27, please change "CFLAGS" to "EXTRA_FLAGS"
    ifeq ($(PLATFORM),RMI)
    EXTRA_CFLAGS := -D__KERNEL__ -DMODULE=1 -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -DCONFIG_IFX_ALG_QOS -DCONFIG_WAN_VLAN_SUPPORT -fomit-frame-pointer -DIFX_PPPOE_FRAME -G 0 -fno-pic -mno-abicalls -mlong-calls -pipe -finline-limit=100000 -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -march=xlr -ffreestanding -march=xlr -Wa,--trap, -nostdinc -iwithprefix include $(WFLAGS)
    export EXTRA_CFLAGS
    endif
    ifeq ($(PLATFORM),RMI_64)
    EXTRA_CFLAGS := -D__KERNEL__ -DMODULE=1 -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT28xx_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -DCONFIG_IFX_ALG_QOS -DCONFIG_WAN_VLAN_SUPPORT -fomit-frame-pointer -DIFX_PPPOE_FRAME -G 0 -fno-pic -mno-abicalls -mlong-calls -pipe -finline-limit=100000 -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -march=xlr -ffreestanding -march=xlr -Wa,--trap, -nostdinc -iwithprefix include $(WFLAGS)
    export EXTRA_CFLAGS
    endif
    ifeq ($(PLATFORM),IXP)
    CFLAGS := -v -D__KERNEL__ -DMODULE -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -mbig-endian -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -malignment-traps -msoft-float $(WFLAGS)
    EXTRA_CFLAGS := -v $(WFLAGS) -I$(RT28xx_DIR)/include -mbig-endian
    export CFLAGS
    endif
    ifeq ($(PLATFORM),SMDK)
    EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include
    endif
    ifeq ($(PLATFORM),CAVM_OCTEON)
    EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include \
    -mabi=64 $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),DM6446)
    CFLAGS := -nostdinc -iwithprefix include -D__KERNEL__ -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mlittle-endian -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm9tdmi -msoft-float -Uarm -Wdeclaration-after-statement -c -o $(WFLAGS)
    export CFLAGS
    endif
    ifeq ($(PLATFORM),BL2348)
    CFLAGS := -D__KERNEL__ -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_REVISION=6 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT2860_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -DMODULE $(WFLAGS) -DSIGMA863X_PLATFORM -DEXPORT_SYMTAB -DPLATFORM_BL2348
    export CFLAGS
    endif
    ifeq ($(PLATFORM),BLUBB)
    CFLAGS := -D__KERNEL__ -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_REVISION=6 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT2860_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -DMODULE $(WFLAGS) -DSIGMA863X_PLATFORM -DEXPORT_SYMTAB -DPLATFORM_BL2348
    export CFLAGS
    endif
    ifeq ($(PLATFORM),BLPMP)
    CFLAGS := -D__KERNEL__ -I$(RT28xx_DIR)/include -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_REVISION=6 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT2860_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -DMODULE $(WFLAGS) -DSIGMA863X_PLATFORM -DEXPORT_SYMTAB
    export CFLAGS
    endif
    ifeq ($(PLATFORM),MT85XX)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    # Linux 2.4
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)
    export CFLAGS
    else
    # Linux 2.6
    EXTRA_CFLAGS += $(WFLAGS) -I$(RT28xx_DIR)/include
    EXTRA_CFLAGS += -D _NO_TYPEDEF_BOOL_ \
    -D _NO_TYPEDEF_UCHAR_ \
    -D _NO_TYPEDEF_UINT8_ \
    -D _NO_TYPEDEF_UINT16_ \
    -D _NO_TYPEDEF_UINT32_ \
    -D _NO_TYPEDEF_UINT64_ \
    -D _NO_TYPEDEF_CHAR_ \
    -D _NO_TYPEDEF_INT32_ \
    -D _NO_TYPEDEF_INT64_ \
    endif
    endif
    ifeq ($(PLATFORM),NXP_TV550)
    ifneq (,$(findstring 2.4,$(LINUX_SRC)))
    # Linux 2.4
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=mips -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)
    export CFLAGS
    else
    # Linux 2.6
    EXTRA_CFLAGS := $(WFLAGS) -I$(RT28xx_DIR)/include
    endif
    endif
    ifeq ($(PLATFORM),MVL5)
    CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm926ej-s --param max-inline-insns-single=40000 -Uarm -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE $(WFLAGS)
    export CFLAGS
    endif

  • USB Wifi Adapter troubleshooting

    Hello everybody,
    As many people I confront a lot of problems related to wifi on my macbook after upgrading to lion. Tryed many ways to fix it but it just keeps coming back so I found an USB dongle wich I had for a while. It has a Realtek RTL8188CUS Chipset and looks similar to the one in the picture. It suppose to work on the MAC.
    Problem:
    I have no provided CD for drivers, but found them on the realtek website http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5& Conn=4&ProdID=274&DownTypeID=3&GetDown=false&Downloads=true .
    Basicly what should happen:
    1. I install the drivers
    2. Restart the macbook
    3. After booting up I insert the donge
    4. Widow pops up for configuring new network adapter and installs rquired client software.
    But after rebooting my mashine and inserting donge nothing happens. I tried to look up in system prefrences, network diagnostics. Doesnt look that it even recognises something here.
    In System Information under USB I can see this:
         Composite Device:
           Product ID:          0x8176
           Vendor ID:          0x0bda  (Realtek Semiconductor Corp.)
           Version:          2.00
           Serial Number:          00e04c000001
           Speed:          Up to 480 Mb/sec
           Manufacturer:          RR
           Location ID:          0xfd100000 / 3
           Current Available (mA):          500
           Current Required (mA):          500
    I have two macs at home, one runs lion second runs snow leopard. Both act the same. Tried many different drivers, watched some videos on youtube even found the manual online which was not helpful at all.
    Maybe there is someone who had this issue before or maybe just has some ideas about it?
    Thank you for the support!

    James,
    I have been getting exactly the same problem on my Oct-2011 macbook pro. OSX Lion 10.7.3.
    I have been searching various websites for solutions.   There are various stories about upgrades, reboots, drivers, OS versions.  Everytime someone says one of them works 5 others reply, "It didn't for me".
    The most frequent and plausible explanation seemed to be the macbook pro aluminium frame blocked radio signals.   Mine works perfectly if i'm in the same rooom or the next room to the router. But elsewhere I've got a 50/50 shot that it will connect or be fast enough to browse the web. My old Dell had a good connection every single time from anywhere in the house.
    I eventually decided to bypass the problem by installing a usb wifi dongle.  I went to my apple supplier. Peats of Parnell St. Dublin. They recommended edimax ew-7622UMn. I just plugged it in and to see what would happen, which was nothing.
    I loaded the mac driver from the cd. rebooted, plugged it in again; still nothing... It couldn't even tell if there was something attached.
    I downloaded the latest mac driver from the edimax website; still nothing.
    So I decided to-****-with-it.  I brought them both back to where I got them. They could do no better. The USB dongle wroked perfectly in every PC in the store and saw their wifi network. my Macbook pro and every apple machine they had couldn't even see the thing. Then they tried another MAC compatible wifi dongle; they got the same results on my machine and others.They suggested I call Edimax support.
    Edimax said it should work fine and that they never saw this problem before!!!
    The reason I bought a macbook is because I don't have time for this stuff. I just wanted a machine that works. That's exactly what it does 50% of the time. The other 50% I get a slow or no wifi connection
    If you or anyone figures out how to make USB wifi work with a MacBookPro please post the answer. I just want reliable wifi from my Home office.

  • Wifi usb, wifi liberator. Has any one tried it?

    I found this wifi liberator program online ( http://www.coin-operated.com/projects/wifiliberator.html ) it seems like a sick program that would be very useful to me. in order for it to work you need a usb wifi stick. the program wont even open up on my computer so i dont know if thats because it needs a working usb stick, or it just doesn't like me. I went to micro center and bought a usb wifi stick by trend net( it was only 5 bucks after rebate). the program still doesn't open. osx recognizes it in system profiler under the usb section. do i need a driver, or has anyone successfully used wifi liberator. thanks alot for your help.
    -john

    There may be a few problems in using this technology; one may be in
    the security issues which could arise from becoming an open hub to
    wireless internet (the host computer is open to two-way traffic between
    all computers sharing this new allegedly free network) and thus, it may
    be more open to attacks since its ports would be open.
    While there well may be ways to protect a computer in that situation,
    should it be a problem; other conditional and legal matters may be
    worth investigating prior to using the software and doing what they
    suggest. There are laws in some situations where it is illegal to
    share an internet service intended to be accessed by a limited group.
    Even sitting outside a public library and using your portable computer's
    wi-fi may be seen as illegal theft of a service since you are not inside
    and the service is intended for the library's clients who may have to
    sign in and log-on. Until uniform use rules are standardized, or maybe
    removed (unlikely) one has to be careful and thoughtful of them.
    I've read about similar free-access technologies, and have also read
    of prosecutions or fines from what was called illegal access [or theft
    of service] so I could not endorse the use of any product to do this.
    While in some locations it may not be specifically illegal, it could be.
    It is quite another matter to set up your own paid wi-fi subscription to
    share (for free) to a limited number of trusted persons, with a firewall
    and other protections in place for your and their equipment and privacy;
    but to consider other's paid for services as fair game is probably illegal.
    But, that's just my opinion; however I arrived at it without bias and
    through online and news sources. Your mileage may vary.
    PS: Perhaps the application is not updated to work with the
    last security updates and other feature sets in OSX? The site
    says it is supposed to work with the AirPort hardware installed.
    What kind of computer/model/configuration do you have?

  • Systemd-networkd, wpa_supplicant and multiple USB Wifi adapters

    TL;DR:
    Is there a way to run a single wpa_supplicant process that handles any kind of USB WiFi adapter in connection with systemd-networkd?
    Long version:
    I'm running systemd-networkd, which has made networking setup a lot easier for wired interfaces. I'd like to make it just as easy for WiFi interfaces, but it seems there's some kind of wildcard support missing for wpa_supplicant. My question is whether I got this right, or there is some trick somewhere I didn't think of.
    Here's my /etc/systemd/network/wifi.network:
    [Match]
    Name=wlp*
    [Network]
    DHCP=v4
    In addition, I'm running:
    systemctl start wpa_supplicant@wlp0s2f1u10
    because that's the interface that my current WiFi USB adapter comes up on. This goes with /etc/wpa_supplicant/wpa_supplicant-wlp0s2f1u10.conf:
    ctrl_interface=/run/wpa_supplicant
    eapol_version=1
    ap_scan=1
    fast_reauth=1
    network={
    ssid="something"
    psk="else"
    This all works fine, except that:
    I have to plug my USB Wifi adapter into this exact USB port, otherwise the interface name changes and wpa_supplicant isn't running there
    if I plug in a different USB WiFi adapter (I have a zoo; nothing exceptional I guess, but it's a pain to keep track of which goes with which computer), the interface name may be different and wpa_supplicant isn't running there
    systemd-networkd solved that problem nicely with the wildcard in the interface name above (Name=wlp*). (Also, dhcpcd -- which I'm not using in this setup -- can be told to listen to "all interface" which is sort of similar)
    My question: can I do something similar with wpa_supplicant, so I don't have to run a separate wpa_supplicant daemon on all possible interface names?
    I'm guessing the answer is No (and I'd like confirmation on that).
    Secondly, perhaps I can write one or more udev rules that will present all of those possible interfaces as wlan0, wlan1 or such. In which case I could presumably run wpa_supplicant@wlan0 only and be happy (assuming that wpa_supplicant is happy to run even as long as the interface does not exist. Does it?) Anybody have any hints how to go about this, I haven't done that.
    Thirdly, if neither of those are viable, is this a reasonable-enough set of requirements so it would  make sense to run this by the wpa_supplicant developers as a possible future feature?
    Last edited by jernst (2015-01-11 05:54:31)

    jernst wrote:
    systemd-networkd solved that problem nicely with the wildcard in the interface name above (Name=wlp*). (Also, dhcpcd -- which I'm not using in this setup -- can be told to listen to "all interface" which is sort of similar)
    My question: can I do something similar with wpa_supplicant, so I don't have to run a separate wpa_supplicant daemon on all possible interface names?
    networkd "solved" nothing here. This is a mere coincidence that the wlp* wildcard works. For instance, you might have an interface called "wls1". Also, wpa_supplicant doesn't "listen" because "listen" applies to the TCP/IP layer. wpa_supplicant works at the frame level, so I'm not sure what you mean. If you want software that _manages_ multiple wifi interfaces, use netctl.
    jernst wrote:I'm guessing the answer is No (and I'd like confirmation on that).
    Correct.
    jernst wrote:Secondly, perhaps I can write one or more udev rules that will present all of those possible interfaces as wlan0, wlan1 or such. In which case I could presumably run wpa_supplicant@wlan0 only and be happy (assuming that wpa_supplicant is happy to run even as long as the interface does not exist. Does it?) Anybody have any hints how to go about this, I haven't done that.
    For the udev part, do something like
    : cat /etc/udev/rules.d/10-network.rules
    SUBSYSTEM=="net", ATTR{address}=="a1:b1:c1:d1:e1:f1", NAME="wl0"
    SUBSYSTEM=="net", ATTR{address}=="a2:b2:c2:d2:e2:f2", NAME="wl1"
    Then, modify [email protected] as
    : diff usr/lib/systemd/system/[email protected]{,.new}
    +++ usr/lib/systemd/system/[email protected] 2015-01-12 11:45:10.839852357 -0700
    --- usr/lib/systemd/system/[email protected] 2015-01-12 11:44:56.843027430 -0700
    @@ -1,5 +1,6 @@
    [Unit]
    Description=WPA supplicant daemon (interface- and nl80211 driver-specific version)
    -Requires=sys-subsystem-net-devices-%i.device
    After=sys-subsystem-net-devices-%i.device
    # NetworkManager users will probably want the dbus version instead.
    so that the unit doesn't fail if the adapter is not plugged. However, this solution is suboptimal (Think what happens if you suddenly remove the adapter)... You can try to use "BindsTo=" instead of "Requires=" but I wonder if you get errors on startup if the adapter is absent...
    jernst wrote:Thirdly, if neither of those are viable, is this a reasonable-enough set of requirements so it would  make sense to run this by the wpa_supplicant developers as a possible future feature?
    No. wpa_supplicant is only supposed to to what it's told. It is not a canned network management solution.

  • USB WiFi adapter that can replace iMac Airport

    After trying all of the workarounds posted in the forums to address the sporadic wifi problems, I've had it. Apple does not seem willing to address it, so I either relegate my 24" iMac to being nothing more than a DVD player in the spare room or I find a meaningful resolution. I've read that some people have started using a separate USB WiFi adapter.
    Any consensus on whether some models work better/worse than others?
    Anyone had long term success with one they can report?
    After 17 years of Macs, this is the first one I have had with widespread problems and I'm quite dismayed that Apple has, thus far, ignored it.

    Listen... a Mac is a computer like a Windows PC. It's hard drive can have data corruption too. And you may have even installed some third-party software that is causing this problem, such as a custom kernel extension. Or you may have inadvertently deleted or moved some key system component. There are many possibilities, but the solution of last resort (for any computer since personal computers had hard drives) has been to back up personal data, erase the hard drive, and re-install. If you go to the Genius Bar at an Apple Store, they'll do some trouble-shooting and if they can't figure it out with reasonable effort, they'll erase the drive and re-install the OS. If that does not resolve the issue, they'll conclude it is a hardware problem start investigating which component is faulty.
    If Macs never failed or had issues related to its hard drive, Apple would not have created Time Machine so users can do ongoing backups without thinking about it.
    I have no idea what you have tried, since you have did not specifically state it. You should have already tried these three basic steps
    Run Disk Utility and use +Repair Disk Permissions+ on the +First Aid+ tab
    Reset PRAM - http://support.apple.com/kb/HT1379
    Reset SMC - http://support.apple.com/kb/HT1543
    And before doing an erase and install, you should try one more thing as a test. Create a new admin user account in System Preferences Accounts pane
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8235.html
    Log out and log in to the new account. Try wireless networking while logged into this new account. Does it work better or is it the same?
    If there is improvement, the cause is likely to be confined to your normal user account and not the overall system or hardware. It may be a corrupted user preferences setting or some third-party process that is running in the background. Be sure to check System Preferences Accounts pane +Login Items+ tab (in your normal account) and review the processes that start up automatically at login.
    If there is no change, the cause is likely to be related to the overall system installation or to hardware. Backing up your data, erasing the hard drive, and re-installing will serve to either resolve the problem, or rule out a software-related cause (pointing to a hardware-related cause).
    If you have questions about doing an erase and re-install, please post back.

  • Freezing Arch on USB wifi

    Hi,
    I've got SMC2862w-G (45Mb) USB wifi dongle working using ndiswrapper.
    My normal web browsing is quite good but If I down load or FTP a file >100Mb Arch frezes and I have to disconnect mains to reset the pc. (No mouse, Alt+tab etc...)
    Are there any buffres etc I can change to improve data transfer rates? or is this a fault?
    System woks perfectly with 100Mb lan connection.
    Thanks
    Ben

    bostoniman wrote:What is the INF file you are using?  I have a Linksys WUSB54G USB adapter, and I am experiencing a similar problem.  It appears to load fine during boot, but if I download either a large file, or have a high rate of transfer, the system freezes.  Also, if i simply leave my system idle after boot, the system will lock up after about 15 minutes.  This has started happening only after the upgrade to the initrd-based kernel.  So, I was wondering which INF file you use to see if it was the same one, or similar one, to the one I use.
    I downloaded Winxp drivers from SMC website. (The drivers included in the product CD did not work)
    It seems to be I've got the same problem. I have this problem even on 2.6.13 Arch Kernel. No initrd
    I saw another post about ndiswrapper hanging problem.  It seems to be ndiswrapper people don't want to know you unless you are a UNIX guru.
    I don't know what to do here.
    Ben

  • Experience with USB Wifi dongle?

    Anyone have any experience setting up USB Wifi dongles? I need to get one, and I'm not sure which one to use. I've seen the pages that list compatible models, but every one that I Google comes up with forums posts about something going horribly wrong with them. What do you use, or know that others use?
    Thanks.

    netmanny wrote:http://wireless.kernel.org/en/users/Drivers/carl9170
    Is the new module for Netgear WN111v2 among others.
    Any one has had any luck making this Driver?
    The home for driver
    http://wireless.kernel.org/en/developer … esting.git
    The firmware
    http://wireless.kernel.org/en/users/Drivers/carl9170
    I really don't know how to use git......
    So any help Appreciated.
    I built this driver yesterday, and it works great!! I have the NetGear WN111v2 as well, and suddenly realized how incrediblt slow my connections were.
    So I tried building it, and (for me at least) the carl9170 driver rocks.
    What I did: Download the compat-wireless tarball from here: http://wireless.kernel.org/download/com … eless-2.6/ and choose the newest one.
    Untar it somewhere, like ~/build/ or something. Then, from a terminal, cd to the directory you untar'ed, and type
    ./scripts/driver-select carl9170
    as a normal user.
    Then
    make
    and
    sudo make install
    should install it just fine remember to have kernel26-headers and linux-api-headers installed first!
    Now you only need to get the firmware from http://www.kernel.org/pub/linux/kernel/ … l9170-1.fw and put it in /lib/firmware/
    And to be on the safe side, add !arusb_lnx and !ar9170usb to your MODULES() in rc.conf, so the drivers don't conflict. Good luck!
    EDIT: I found some time after all you can find my PKGBUILD here: http://aur.archlinux.org/packages.php?ID=44100
    Last edited by mariusmeyer (2010-12-02 23:14:15)

  • Actiontec GT784WNV wifi signal transmitter problems

        I purchased a Actiontec GT784WNV from Amazon three months ago and set it upwith minimum effort.   It worked well on both ethernet and Wifi until recently. My main PC  was on wifi and started having problems while the second PCworked OK on ethernet.  I moved the modem to connect the main PC to ethernet with sucess.     The second PC (now on wifi) now has a very slow and erratic connection. The problem showed up using my main PC wifi card and two different USB wifi adapters on the second PC.     In addition, my TV wifi  netflix  wifi  alsostopped working.   These tests indicate to me modem transmitter problemseven though the wifi signal bars show a strong signal.        I have reset the router which helps for awhile.  It has good ventilation anddoes not appear to be overheating.  I have tried channel 6 and 11 on themodem without helping. Any ideas on how to confirm the Actiontec transmitter  is broken or how to fix? 

    There are couple of settings you can try and make the wi-fi work properly. Change the security type from WPA-WPA2  to just WPA. Change the wireless mode from b/g/n  to b&g If possible, change the frequency channel to fixed mode (say 7 or 11). I have tried this and all of my wireless devices work as a charm. Hope this works for you too!

  • How can I add Qualcom Atheros USB wifi adapter?

    I need to add a Qualcom USB wifi adapter to my 2014 Macbook Pro retina, running latest Yosemite.  I need to do this in order for a Parallels virtual machine to use wifi connection, rather than a bridged ethernet connection (the guest VM cannot 'see' the Macbook wifi adapter)
    The wifi chipset is Atheros AR9271, but I can't find any Mac OS X drivers.  Has anyone added this type of USB wifi adapter?
    When I run the command system_profiler SBUSBData_Type the following information is shown, which tells me that the Macbook can see the device, I just don't know how to configure it
              Product ID: 0x3327
              Vendor ID: 0x13d3  (AzureWave Technologies, Inc.)
              Version: 1.08
              Serial Number: 12345
              Speed: Up to 480 Mb/sec
              Manufacturer: ATHEROS
              Location ID: 0x14100000 / 7
              Current Available (mA): 500
              Current Required (mA): Unknown (Device has not been configured)
    thanks in advance!

    Considering the different options that PC could have been ordered with, it might be there is not an empty slot to mount a PCI add-on card to add a USB 3.0 card.  It would be advisable to open the case to see if there is an empty slot.  If there is, then THIS is a choice to add USB 3.0
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • Usb wifi compatible with osx 10.8

    Hi I need to buy a usb wifi adapter for my macbook pro 13' mid 2009. The airport card won't work anymore. It's not a problem with airport itself, it seems the problem has something to do with some sort of connection problem between the airport card, bluetooth, the webcam and the mother board, and to repair that connection would be expensive. Does anyone know of any usb wifi adapter which would work with osx 10.8? 150 or 300 MPS? Thank you.
    Ben

    Pages 5 is not compatible with OSX 10.8, or anything else much.
    Page '09 is compatible.
    Peter

  • USB WIFI solution for iBook G4 with broken AirPort

    Hi folks, I posted earlier about my iBook G4 which just recently began having the dreaded AirPort related kernel panics. The machine works fine with AirPort disabled, and now I'm looking for a USB wifi stick (dongle) that will keep me wireless.
    There are tons of posts on the web regarding different wifi sticks that kind of work, but I'm looking for definitive references on which are the best. I'm mostly concerned with flaky drivers. Some time ago, I tried out the D-Link G-122 with correct chipset and Ralinktech drivers. The drivers were horrible and the D-Link eventually just burned out.
    Since then there have been several more USB sticks that claim to work in 10.4.x, but I see several of them use the same drivers. WHERE IS THE SOLUTION TO MAKE ALL THESE BUSTED IBOOKS WIRELESS AGAIN??? And I don't mean a new logic board! It sounds like most folks say to go with an ethernet bridge, but that's not what I'm looking for, as I'm tethered to an ethernet cable already.
    Here are a few USB Wifi sticks I've come across recently. Can anyone comment on any of these and success with 10.4.x or iBooks?
    http://afterthemac.com/?gclid=CNuFk-mGq5ACFRscawod4TEL7A
    http://www.macwireless.com/html/products/wireless_cards/USBs.php
    http://www.quickertek.com/products/nano.php
    http://eshop.macsales.com/item/Edimax/EW7718UN/
    http://eshop.macsales.com/item/Asus/WL167G/
    http://eshop.macsales.com/item/Newer%20Technology/MXP802NU2C/
    Thanks a ton in advance
    Paul

    If it is sold by Macsales, chances are it will work.
    But I will also say this as a qualifier. If your iBook G4 predates the introduction of USB 2 on the iBook G4, your best speed on a USB WiFi is going to be 12 Mbps. And that's if no other USB devices are hooked up to it, because it has one USB bus. You are much better off getting the airport card inside the iBook replaced by an authorized dealer. Anything that will cause damage to internal components of the machine likely will affect more than one part of the machine, and you just happen to be lucky that it hasn't caused further problems for you. It does not pay to have a machine limping. Get the entire machine fixed.

  • How do I use a USB WiFi dongle with a MacBook?

    I recently acquired a USB wifi dongle and downloaded the appropriate driver. When plugged into my MacBook it will connect to my Graphite Airport base station. I can even use Airport Admin Utility to change setting in the Graphite ABS with this USB dongle.
    The driver software also included a 'client utility' which I use to get the dongle to function with the MacBook. It also required adding the dongle to the list of network [ports via the Network Preferences in OS X.
    But I do not know how to use it to access the internet through the ABS. My ABS has a 56kbps dialup modem in it which I use with the MacBook's internal WiFi card as my way of accessing the internet normally. I would like to know how to use this new USB wifi dongle to do the same thing though.
    TIA

    If you noticed on my jpg of my settings the very top left window shows that the MacBook thinks the dongle is indeed connected to the internet. In actuality the dongle is only connected to the Graphite ABS.
    My thinking is that the Graphite ABS (Apples first ABS) is simply set up to listen to Apple's own Airport card when it comes to the ABS' internal 56k modem. Maybe someone can tell me from experience that a Graphite will listen to a USB wifi dongle?
    A bit of my personal philosophy... Apple stuff generally 'just works'. It does not require a lot of windoze-like 'jumping thru hoops' to make it work. So when it does not 'just work' I tend to think that it is because it can't.
    Didn't try turning off the firewall, but if it requires that I would not want to use it anyway.
    Yes, the ABS does distribute IPs, or at least something does because they are different from one time to the next.
    Access Control is on, but again, I require that so it would have to work that way for me or it would have no value to me.
    Again I will say, I certainly appreciate your help BDAqua. But I am starting to think we may be trying to do something that cannot be done unless you know otherwise?
    Again, I would like to ask, is there is anyone using a Graphite ABS with any USB wifi card/dongle?

  • IOS 6.1.3 WIFI button disable problem on iPhone4S - It is definitely a BUG

    Hi Apple Fans
    I have a full house of Apple products from iPhone -> iPAD -> iPod -> Mac -> AirPort, and I am suffering from WIFI button disable problem after upgrade to iOS 6.1.3, without any clue after calling Apple Support, factory reset and reload iPhone for more than 10 times.  I also try all tips on Apple Support Communicties except put it into a freezer, still no any luck.  Apple Support suggests that my iPhone may be factly!
    Tonight, I can get my WIFI back in below sequence:
    1. Switch to English language from Chinese
    2. Turn Cellular Data Option to off
    3. Reset Network Setting
    After the phone reset, the WIFI row show 'Not Connected', and I can select my home WIFI (Airport Express) without trouble.  To prove my finding is workable to all case, can you try the same and update here if it works for you?
    Good Luck!
    PS: I always believe it is a BUG.

    Hi,
    I sympathise with you as my iPhone 4s is 7 months old and is also greyed out.  I tried everthing except the potentially stupid one of putting the iphone in a freezer!  I took the phone back to the vendor who sent it away and repaired it.  But alas after a month it is greyed out again.  I have again returned to the vendor and he will repair it again.  I asked him how and he told me it is a software conflict and he has to spend around 9 hours downloading a patch repair.  Apple are aware of this issue and I feel completely let down because they have not posted a fix on the net.  Presently I am living and working in Dubai, back in the UK I am sure my iPhone would have been exchanged for a new one.  I need my iPhone for my work and cannot afford to just buy a new one so I have been let down and despite for years being a supporter of Apple and their products I shall think twice before investing in any more Apple products.

Maybe you are looking for

  • Bolding rows in RTF template using tags

    In an rtf template, is there a way to bold an entire row in the table using tags rather than building two rows (one bold, one unbold) and put them in a if condition? if [BOLD ROW] else [UNBOLD ROW] end if

  • Time out when trying to open Word/Excel document from portal

    Several of our users have been timing out when trying to open/download documents stored in our portal. The error message is "Download failed. Connection to server was reset." Is there some obvious setting that I am missing here? It happens with thing

  • How Do I Get My Game Data Back?

    So, I have two sons and a daughter. One son is the oldest, (doesn't use the ipad often) Then the daughter is the middle (uses the ipad ALOT and knows everything about it ) and I have a child son, young. He plays games on the ipad. One day my daughter

  • Ignore logical operator in string

    I assign a string string to a variable var, then show the variable using $$var$$ This works if the string is something like "Black White", and $$var$$ returns "Black White" However, if the string contains a logical operator like "and" or "or", then c

  • Ktoolbar on Linux (Fedora)

    hi, i installed these two on Fedora - Linux 1. j2sdk-1_4_1-linux-i586.bin - set the path and classpath, and it looks okay - it works 2. j2me_wireless_toolkit-2_1-linux-i386.bin - installed, but when i try to run ktoolbar i get the following error: [r