Active scanning of AP
Hello everyone,
About active scanning: Can the STA send data packets through the active scanning? In other words, through the active scanning the STA needs to check every channel by sending probe request and waits for an AP-response for specific time to decide leaving this channel and checking the next one. So, is it possible, that the STA can do this parallel with data transmitting on the associated channel?
What I read in the standard 802.11 explain only the active scanning process. In comparison to the WLAN-Functionality it wouldnt be possible that the STA can transmit data through the checking of other channels by active scanning process, but Im still not sure. Can anybody tell me something about, espicially about Cisco experience in this field?
Thanks in advance,
Robel Daher
Unfortunately i didn't get an answer on it, i didn't fina any material about this matter. Maybe i need to measure the data throughput on a STA through an active scanning.
Similar Messages
-
10.7.3 MBP Wifi Problem - Endless Timeouts & Dropped connections
I've been reading around here a bit already and so I know many other people are having Wifi issues with Lion, but given that there are so many discussions and so many pages of talk, it's hard to go through it all, and using the search I haven't found anything that's quite similar to what I'm experiencing, so I'm starting a new topic...
Basically, I've got a late 2006 MacBook Pro, installed 10.7.1 (form 10.6.8) on in back in Aug 2011 and everything seemed to be fine. I updated to 10.7.2 sometime in Jan and still didn't notice any issues, but wasn't using Wifi at all at the time.
Then in Feb I moved and started using wifi (with a Cisco N router), and noticed that often, the system would not automatically reconnect to the network after waking up from sleep. Just selecting the network manually worked on the first try every time though, so it wasn't so bad.
At the end of April, I finally got around to installing the 10.7.3 update. I read it was supposed to fix wifi issues and so was looking forward to it. It installed fine and didn't seem to cause any problems...
2 days later I moved again (to India), and all **** broke loose... Now, I can rarely connect to wifi (a Beetel G router, configed with WPA). Around 25% of the time, the network won't show up in the list (despite being a clear 5ft from the base station), and when it does show up, 95% of the time I get a "connection timeout" error - often immeadiately, but sometimes it takes about 10sec to respond. On the same network, 2 Win 7 Dells and an iPad 1 all work flawlessly - it's not the router...
One the occasions that I am able to connect, it usually works fine, but if I put the computer to sleep and wake up again, there's no guarentee that the connection will work again - it's back to the lottery. And sometimes even when it's connected, the wifi stays (according to the menu indicator) but the internet connection disappears (to the point I can't even ping the router - 100% packet loss, let alone any internet server)
I've tried zapping everything I can think of (PRAM, SMC), repairing permissions, clearing the remembered networks from the System Prefs, deleting old Locations and creating new ones etc. I have a clean install of 10.7.1 that I booted off of, but it still had the same issues!
Here's the Wifi output from System Profiler (trying to use "Home Network"):
Software Versions:
CoreWLAN: 2.1.2 (212.1)
CoreWLANKit: 1.0.2 (102.2)
Menu Extra: 7.0.2 (702.1)
configd plug-in: 7.1.2 (712.1)
System Profiler: 7.0 (700.3)
IO80211 Family: 4.1.2 (412.2)
WiFi Diagnostics: 1.0.1 (101.1)
AirPort Utility: 6.0 (600.92)
Interfaces:
en1:
Card Type: AirPort Extreme
Firmware Version: Atheros 5416: 2.1.14.9
MAC Address: 00:XX:XX:XX:XX
Locale: FCC
Country Code: IN
Supported PHY Modes: 802.11 a/b/g/n
Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165
Status: Not Associated
Local Wi-Fi Networks:
Home Network:
PHY Mode: 802.11g
BSSID: 80:a1:d7:4a:d0:02
Channel: 1
Network Type: Infrastructure
Security: WPA Personal
Signal / Noise: -77 dBm / -96 dBm
MGMNT:
PHY Mode: 802.11g
BSSID: 80:a1:d7:4a:d0:03
Channel: 1
Network Type: Infrastructure
Security: WEP
Signal / Noise: -77 dBm / -96 dBm
RC:
PHY Mode: 802.11g
BSSID: 00:1e:40:57:67:61
Channel: 6
Network Type: Infrastructure
Security: WPA Personal
Signal / Noise: -97 dBm / -96 dBm
Vivek:
PHY Mode: 802.11g
BSSID: 00:24:b2:94:ea:06
Channel: 11
Network Type: Infrastructure
Security: WEP
Signal / Noise: -94 dBm / -96 dBm
nischai:
PHY Mode: 802.11n
BSSID: 58:6d:8f:c3:ea:2a
Channel: 6
Network Type: Infrastructure
Security: WPA2 Personal
Signal / Noise: -90 dBm / -96 dBm
noor:
PHY Mode: 802.11g
BSSID: 00:24:b2:7e:26:72
Channel: 11
Network Type: Infrastructure
Security: WPA Personal
Signal / Noise: -90 dBm / -96 dBm
One thread here I read had someone suggesting to run the Airport debugger in Terminal and posting the output - here's the results:
Sat May 5 09:52:00.823 <kernel> IO80211ScanManager::startScan: Broadcast scan request received from pid 622 ().
Sat May 5 09:52:00.824 <kernel> IO80211ScanManager::startScan: Initiating scan.
Sat May 5 09:52:00.824 <kernel> __ieee80211_newstate: INIT -> SCAN (arg 0xffffffff)
Sat May 5 09:52:00.824 <kernel> ieee80211_check_scan: active scan, duration 24000, desired mode auto, append, nopick
Sat May 5 09:52:00.824 <kernel> ieee80211_start_scan: active scan, duration 24000, desired mode auto, append, nopick
Sat May 5 09:52:00.824 <kernel> scan_next: chan 1g -> 1g [active, dwell min 8 max 8]
Sat May 5 09:52:00.865 <kernel> [80:a1:d7:4a:d0:02] new beacon on chan 1 (bss chan 1) "Home Network"
Sat May 5 09:52:00.865 <kernel> [80:a1:d7:4a:d0:02] caps 0x411 bintval 100 erp 0x4
Sat May 5 09:52:00.873 <kernel> [80:a1:d7:4a:d0:03] new beacon on chan 1 (bss chan 1) "MGMNT"
Sat May 5 09:52:00.873 <kernel> [80:a1:d7:4a:d0:03] caps 0x411 bintval 100 erp 0x4
Sat May 5 09:52:00.909 <kernel> scan_next: chan 1g -> 6g [active, dwell min 8 max 8]
Sat May 5 09:52:00.917 <kernel> [58:6d:8f:c3:ea:2a] new probe_resp on chan 6 (bss chan 6) "nischai"
Sat May 5 09:52:00.919 <kernel> [58:6d:8f:c3:ea:2a] caps 0x411 bintval 100 erp 0x4
Sat May 5 09:52:00.920 <kernel> [58:6d:8f:c3:ea:2a] new probe_resp on chan 6 (bss chan 6) "nischai"
Sat May 5 09:52:00.920 <kernel> [58:6d:8f:c3:ea:2a] caps 0x411 bintval 100 erp 0x4
Sat May 5 09:52:00.928 <kernel> [58:6d:8f:c3:ea:2a] new probe_resp on chan 6 (bss chan 6) "nischai"
Sat May 5 09:52:00.928 <kernel> [58:6d:8f:c3:ea:2a] caps 0x411 bintval 100 erp 0x4
Sat May 5 09:52:00.992 <kernel> scan_next: chan 6g -> 11g [active, dwell min 8 max 8]
Sat May 5 09:52:01.47 <kernel> [00:24:b2:7e:26:72] new beacon on chan 11 (bss chan 11) "noor"
Sat May 5 09:52:01.47 <kernel> [00:24:b2:7e:26:72] caps 0x411 bintval 100 erp 0x0
Sat May 5 09:52:01.75 <kernel> scan_next: chan 11g -> 7g [active, dwell min 8 max 8]
Sat May 5 09:52:01.158 <kernel> scan_next: chan 7g -> 13g [active, dwell min 8 max 8]
Sat May 5 09:52:01.241 <kernel> scan_next: chan 13g -> 52a [passive, dwell min 8 max 8]
Sat May 5 09:52:01.327 <kernel> scan_next: chan 52a -> 56a [passive, dwell min 8 max 8]
Sat May 5 09:52:01.409 <kernel> scan_next: chan 56a -> 60a [passive, dwell min 8 max 8]
Sat May 5 09:52:01.492 <kernel> scan_next: chan 60a -> 64a [passive, dwell min 8 max 8]
Sat May 5 09:52:01.575 <kernel> scan_next: chan 64a -> 36a [active, dwell min 8 max 8]
Sat May 5 09:52:01.657 <kernel> scan_next: chan 36a -> 40a [active, dwell min 8 max 8]
Sat May 5 09:52:01.741 <kernel> scan_next: chan 40a -> 44a [active, dwell min 8 max 8]
Sat May 5 09:52:01.823 <kernel> scan_next: chan 44a -> 48a [active, dwell min 8 max 8]
Sat May 5 09:52:01.906 <kernel> scan_next: chan 48a -> 2g [active, dwell min 8 max 8]
Sat May 5 09:52:01.920 <kernel> [04:4f:aa:b4:dc:f9] new beacon on chan 2 (bss chan 2) ""
Sat May 5 09:52:01.920 <kernel> [04:4f:aa:b4:dc:f9] caps 0x431 bintval 100 erp 0x0
Sat May 5 09:52:01.992 <kernel> scan_next: chan 2g -> 3g [active, dwell min 8 max 8]
Sat May 5 09:52:02.74 <kernel> scan_next: chan 3g -> 4g [active, dwell min 8 max 8]
Sat May 5 09:52:02.157 <kernel> scan_next: chan 4g -> 5g [active, dwell min 8 max 8]
Sat May 5 09:52:02.239 <kernel> scan_next: chan 5g -> 8g [active, dwell min 8 max 8]
Sat May 5 09:52:02.321 <kernel> scan_next: chan 8g -> 9g [active, dwell min 8 max 8]
Sat May 5 09:52:02.388 <kernel> [00:26:15:61:4c:87] new beacon on chan 9 (bss chan 9) "BSNL_AP"
Sat May 5 09:52:02.388 <kernel> [00:26:15:61:4c:87] caps 0x431 bintval 100 erp 0x0 country info 49 4e 49 01 0d 14
Sat May 5 09:52:02.403 <kernel> scan_next: chan 9g -> 10g [active, dwell min 8 max 8]
Sat May 5 09:52:02.486 <kernel> scan_next: chan 10g -> 12g [active, dwell min 8 max 8]
Sat May 5 09:52:02.569 <kernel> scan_next: chan 12g -> 149a [active, dwell min 8 max 8]
Sat May 5 09:52:02.655 <kernel> scan_next: chan 149a -> 153a [active, dwell min 8 max 8]
Sat May 5 09:52:02.738 <kernel> scan_next: chan 153a -> 157a [active, dwell min 8 max 8]
Sat May 5 09:52:02.821 <kernel> scan_next: chan 157a -> 161a [active, dwell min 8 max 8]
Sat May 5 09:52:02.903 <kernel> scan_next: chan 161a -> 165a [active, dwell min 8 max 8]
Sat May 5 09:52:02.991 <kernel> scan_next: done, [ticks 32630, dwell min 8 scanend 56413]
Sat May 5 09:52:02.993 <kernel> __ieee80211_newstate: SCAN -> INIT (arg 0xffffffff)
Sat May 5 09:52:02.993 <kernel> ieee80211_init_node[1132] old_auth 5
Sat May 5 09:52:02.994 <kernel> IO80211ScanManager::getScanResult: All scan results returned for pid 622.
Sat May 5 09:52:05.765 <airportd[804]> _handleNewMessage: Received XPC message, event = ASSOC_EVENT, pid = 622
Sat May 5 09:52:05.766 <airportd[804]> associate: INFO: airportd associate: network=<CWNetwork: 0x7f9fd8c11fc0> [ssid=Home Network, bssid=80:a1:d7:4a:d0:02, security=WPA Personal, rssi=-76, channel=<CWChannel: 0x7f9fd8c185b0> [channelNumber=1(2GHz), channelWidth={20MHz}], ibss=0], is8021X=0, remember=1
Sat May 5 09:52:05.781 <airportd[804]> associate: INFO: Checking if admin authorization is required
Sat May 5 09:52:05.802 <kernel> __ieee80211_newstate: INIT -> SCAN (arg 0x0)
Sat May 5 09:52:05.802 <kernel> ieee80211_check_scan: active scan, duration 24000, desired mode auto, append
Sat May 5 09:52:05.802 <kernel> ieee80211_check_scan: check scan cache
Sat May 5 09:52:05.802 <kernel> macaddr bssid chan rssi rate flag wep essid
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.802 <kernel>
Sat May 5 09:52:05.807 <kernel>
Sat May 5 09:52:05.807 <kernel> ieee80211_init_node[1132] old_auth 5
Sat May 5 09:52:05.807 <kernel> __ieee80211_newstate: SCAN -> JOIN (arg 0x0)
Sat May 5 09:52:05.812 <kernel> __ieee80211_newstate: JOIN -> AUTH (arg 0xc0)
Sat May 5 09:52:05.813 <kernel> ieee80211_cancel_scan: cancel active scan
Sat May 5 09:52:05.813 <kernel> scan_next: done, [ticks 32912, dwell min 8 scanend 56413]
Sat May 5 09:52:05.813 <kernel> parseWPAIE: groupCipherType = 3 pairwiseCipherType = 3 authSel = 2
Sat May 5 09:52:05.813 <kernel> initWithInterfaceAndIE: _myMacAddress 00:17:f2:e6:81:a1
Sat May 5 09:52:05.813 <kernel> setPMK: PMK SET!
Sat May 5 09:52:05.815 <kernel> ieee80211_tx_timeout: state AUTH
Sat May 5 09:52:05.815 <kernel> [80:a1:d7:4a:d0:02] ieee80211_scan_assoc_fail: reason 1
Sat May 5 09:52:05.815 <kernel> [80:a1:d7:4a:d0:02] sta_assoc_fail: reason 1
Sat May 5 09:52:05.815
Sat May 5 09:52:05.815 <kernel> __ieee80211_newstate: AUTH -> SCAN (arg 0x1)
Sat May 5 09:52:05.815 <kernel> [80:a1:d7:4a:d0:02] ieee80211_scan_assoc_fail: reason 1
Sat May 5 09:52:05.816 <kernel> ieee80211_init_node[1132] old_auth 5
Sat May 5 09:52:05.816 <kernel> ieee80211_check_scan: active scan, duration 24000, desired mode auto, append
Sat May 5 09:52:05.816 <kernel> ieee80211_check_scan: check scan cache
Sat May 5 09:52:05.816 <kernel> macaddr bssid chan rssi rate flag wep essid
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel>
Sat May 5 09:52:05.816 <kernel> ieee80211_start_scan: active scan, duration 24000, desired mode auto, append
Sat May 5 09:52:05.816 <kernel> scan_next: chan 1g -> 1g [active, dwell min 8 max 8]
Sat May 5 09:52:05.834 <kernel> ieee80211_cancel_scan: cancel active scan
Sat May 5 09:52:05.834 <kernel> __ieee80211_newstate: SCAN -> INIT (arg 0xffffffff)
Sat May 5 09:52:05.834 <kernel> ieee80211_init_node[1132] old_auth 5
Sat May 5 09:52:05.835 <kernel> en1: Terminating supplicant.
Sat May 5 09:52:05.835 <kernel> RSNSupplicant: Releasing authenticator for 00:00:00:00:00:00
Sat May 5 09:52:05.835 <airportd[804]> associate: Apple80211Associate2() failed with error -3905
Sat May 5 09:52:21.354 <kernel> IO80211ScanManager::cachePurge: clearEntries[0] Firing!
Sat May 5 09:52:21.354 <kernel> IO80211ScanManager::cachePurge: Rescheduling in 14 seconds.
Sat May 5 09:52:35.354 <kernel> IO80211ScanManager::cachePurge: clearEntries[0] Firing!
Sat May 5 09:52:35.354 <kernel> IO80211ScanManager::cachePurge: NOT Rescheduling.
I'm pretty savy with computers and have dealt with all kinds of stuff before, but this one is beyond me, and is really annoying! I konw my machine is old, but it was totally useable up until these Wifi issues, and now wifi is basically useless.
From what I've read, it seems like its a driver issue with the Atheros card in my machine, but most people seem to be complaining about dropped connections (mine rarely drops) rather than timeout connection issues. I've also never had the "hardware not found" issue that many people have, so I think this is something different.
Anyone out there have any advice? I'm getting close to losing it with wifi since the update!Sorry - to add:
I don't think it's a question of WPA vs. WPA2, or even channel number - I have 2 identical routers here and neither work (both default to WPA Ch 11) but I changed one to WPA2, new SSID, various channels and still had the same problems.
Another thing to note that should be irrelevant, but who knows: the Firewire controller on my machine died back in Fall 2010 - to the point where the system won't start-up unless I remove the IOFirewire***.kext from /System/Library/Extensions , and as soon as I do that, it works flawlessly (minus Firewire). It meant I had a **** of a time installing Lion becuase I can't boot off the Recovery Partition (which has the drivers baked into it), but by cloneing my HD, installing Lion onto the clone via a borrowed machine, removing the .kext's and cloning back, I got it on and everything seems to be fine otherwise... I posted about that problem before, but never got any answers. And it wasn't just me, my father has a late 2007 MBP and the same firewire issue happened to his within 5 days of mine (not a power spike - I think it was shortly after some system update if I remember correctly). -
Wow... I am completely lost here...
I have 5000 tracks on Match. Worked generaly well for the past 2 years.
I'm using TuneUp to cleanup my albums tags. Once I've cleaned up the tags the way I want them, Match seems to push back the old tag and destroys all the changes I've made. I'm unable to delete tracks from the cloud, they still show up at the next "refresh" of Match.
I've reset my iTunes folder to a new one, blank, and tried to delete all the tracks from the cloud. No go. Is there a way to do a full reset of this thing? It's driving me insane..
Thanks for your input,
MarcIf there is an active scan happening while you are editing data this can happen also. The service can be a bit quirky. If you've added new music just wait for the auto-scan to kick of and complete and for the iCloud Status to change to its final state from "waiting" before you try to edit the ID3 tags. This the tags are reverting when and active scan is not happening then try disablilng iTM while holding down the Option key. This clears the cache. Quit iTunes, wait a few seconds and open it again and re-enable the service.
-
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 -
ITunes 12.1.0.71 has stopped working on windows 7
I updated my itunes with the new 12.0.1 update. When the update finished, i restart my pc and then i can't open the itunes. "iTunes has stopped working". What should i do?
iTunes, Windows 7Good Afternoon aperaf,
If iTunes for Windows won't launch after the recent update, try these troubleshooting steps:
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues - Apple Support
http://support.apple.com/en-is/HT203206
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
If iTunes for Windows Vista or Windows 7 won't open, stops responding, or unexpectedly quits, try using the steps below. You may want to print this document before following these steps.
Follow these steps if you're having issues installing iTunes.Start iTunes in Safe Mode
Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
Click Continue.
See if the issue you're experiencing persists in Safe Mode.
If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.Create a new user account
By creating a new user account, you can determine if the issue affects a specific Windows user account or all accounts. Follow the steps below to create a new user account in Windows Vista or Windows 7:
Choose Start > Control Panel.
Open "Add or remove user accounts." (If you're using the Classic view in Windows Vista, open "User Accounts," and then open "Manage another account.")
Select "Create a new account" and follow the instructions to set up the account.
Once you create the new account, choose Start > Log Off.
Log in to the new user account.
Open iTunes and see if the issue you're experiencing persists in this new user account.
If you have the same issue in the new user account, proceed to the "System-wide troubleshooting" section. If you don't experience the same issue, proceed to the "User-specific troubleshooting" section.User-specific troubleshooting
If you experience the issue in one particular user account, the suggestions below may resolve the issue. Before proceeding, you'll need to make hidden files and folder visible in Windows using steps 1-5.
Remove iTunes Preference files. Some of the files that iTunes stores settings and preferences in may be unusable. iTunes saves its preferences in two folders. Move one of them to the desktop and test to see if the issue persists. If it does, move it back and remove the second folder. The locations for the preference folders are:
c:\Users\username\AppData\Local\Apple Computer\iTunes
c:\Users\username\AppData\Roaming\Apple Computer\iTunes
Create a new iTunes Library.
Hold the Shift key while opening iTunes. You'll be asked to choose an iTunes library.
Choose Create Library.
In the following window, select a location to save the new iTunes Library.
Click Save. iTunes will open the new library. After you close iTunes, you can always select the original library by holding the Shift key while opening iTunes.
Recreate your iTunes Library. If your iTunes library has become unusable, rebuilding it may resolve the issue.
Check for issues with content files. Sometimes an audio file can cause iTunes to quit unexpectedly or stop responding when it's analyzing gapless playback information. To determine which file may be causing the issue, follow the steps below:
Quit iTunes.
Navigate to the iTunes folder:
Windows 7 and Windows 8:c:\users\username\My Music\iTunes
Move the iTunes Library.itl file to your desktop.
Open iTunes. You shouldn't see any content in iTunes.
Choose File > Add Folder to Library.
Navigate to the folder where your music is located:
Windows 7 and Windows 8:c:\users\username\My Music\iTunes\iTunes Media
Choose an artist, album, or song to add to the library.
Wait for iTunes to successfully add the item to your library and perform the gapless playback scan.
If successful, continue adding songs to your library.
If there is an issue with one of your files, you'll notice your issue reappear after you add it to the library. You should repeat these steps, being careful not to add the files that caused the issue.
System-wide troubleshooting
When troubleshooting system-wide issues with iTunes, try these steps:
Check for viruses. Windows viruses can interfere with a variety of computer functions, including iTunes.
Make sure that you have current anti-virus software installed with up-to-date virus definitions.
Scan your system.
Check for anti-virus and Internet security software. Internet security software may cause iTunes to quit unexpectedly. Try disabling the Internet security software temporarily or exempting iTunes from any active scanning done by the software. If this resolves the issue, check with the maker of the software for an update to the software or its virus definitions. Learn more about fixing security software issues.
Check for conflicting processes. Sometimes other programs and startup items can conflict with iTunes. Learn how to troubleshoot conflicts using Msconfig in Windows Vista, Windows 7, and Windows 8.
Remove iTunes configuration files. Removing unusable configuration files from iTunes can resolve launch issues.
Check the iTunes installations. An improper installation of iTunes can contribute to a variety of issues. Follow these steps to completely reinstall iTunes.
Update the drivers on your PC. Outdated drivers on your computer can cause strange behavior with iTunes, iPod devices, and other apps. Learn how to update the drivers on your computer.
Last Modified: Jan 15, 2015
Hope this helps ...
- Judy -
ITunes nearing 1GB of RAM consumption! Any ideas to lessen the load?
Hello -
My name is Erick and I'm an ACMT/Network Engineer. Apple-certified, but not Apple-employed.
I have encountered an issue in iTunes which was not resolved with the latest 10.6.3 update and was hoping for any community suggestions or advice.
First, context may be important: I use iTunes primarily as a Home Sharing home-base to stream my TV Shows and Movies to Apple TVs in my home. As a result, it (as well as the iMac) are on 24/7 with the exception of a daily scheduled task which quits and reopens iTunes to sync unwatched media to my iOS devices at 4:30AM.
I have noticed several things with iTunes 10.6 which I have documented in other questions here on the forums (long periods of unresponsiveness, the inability to scrub videos), but this issue may be just as significant and could be a root cause in my other problems. This particular question deals with RAM consumption. I have noticed for years that iTunes is a memory hog, so you won't find me shocked there, but what has shocked me is how the amount of RAM iTunes consumes has risen with the amount of RAM I've installed. I currently use an iMac (mid-2010) with a quad i7 and 16GB of RAM.
I have noticed lately that upon opening iTunes 10.6.1 (and 10.6 before it) that iTunes immediately captures about 250MB of RAM. While I have plenty to spare in comparison, I've noticed that the amount of RAM it consumes swells considerably throughout the day. For example, my iTunes is completely idle right now - no devices are connected, no media is streaming or caching, no store purchases are downloading, and iTunes Match/Genius is not actively scanning anything - but my iTunes shows 605MB of RAM. When playing an m4v file converted from mp4 (so we're talking maybe a 200MB media file - not an MKV convert or anything in 1080p), I've noticed iTunes balloon to 900+MB of RAM. If I quit the application and open it again, it immediately snatches up that 250MB or so of RAM, then balloons within minutes.
So while I expect iTunes to consume RAM, as it is a very resource-heavy and busy media center hub, I am surprised by the amount of RAM being consumed here and was wondering if anyone might be able to clarify whether I should consider this a "problem" or just iTunes being iTunes; and if it isn't a problem, are there still any suggestions toward how I could minimize RAM consumption? I realize that I have RAM to spare, but when I get into video conversions, music playback, and work on this computer (all the while my wife is streaming a video across the house on an Apple TV), I do want to make sure I'm not wasting memory on an application that might be ballooning unnecessarily (it is, after all, 6X the consumption of the next app in line).
Just for those who might be wondering what I've already tried, I've worked on several quick fix ideas to help remedy the situation (and hoped they would fix the other issues I've experienced with iTunes 10.6): I've rebuilt the library by opening a new library and importing from my previous iTunes LIbrary file; I've created a new library, dragged any media to it, and tried to play it; I've run iTunes in 32-bit mode. None of these has resolved the issue. I have also attempted to run these files from a new user account (with a new library or with the existing library), and have tried them from an external troubleshooting drive which is also running Lion 10.7.3 and iTunes 10.6.1.
Any ideas, suggestions, or recommendations anyone could provide to aid with this problem? While it's not crippling, it does cause some headaches as other applications begin fighting for memory. I also wonder if the amount of RAM it's consuming might be the source of some other playback and unresponsiveness issues I've experienced.
Thanks for any suggestions; I really appreciate your time.I have resolved my issue with iTunes' RAM consumption and wanted to post the solution for anyone who might be experiencing similar symptoms. It was really quite simple to fix, I just didn't see it for what it was:
iTunes Match was causing iTunes to utilize significant amounts of RAM to queue, refresh, or sync my iTunes Match database.
iTunes Match - which also forces Genius Mode to be on (something that used to cause my iTunes 10.5 to freeze and balloon in RAM usage before I turned it off) - would regularly attempt to refresh my database of 21,000 matched songs (none of which were stored on the computer - just in the cloud) and when it would attempt to update or refresh that library, the program would stop responding. The RAM ballooning I saw when the application launched would start to climb during that unresponsive period, when iTunes was attempting to pack more and more power into the Match check to get it to power through.
So, the simple solution was this: Turn iTunes Match off and iTunes quits freezing, and its RAM usage after 24 hours of uptime is about 130MB.
Now, that of course completely eliminates the usefulness of iTunes Match since the music is no longer accessible on this machine in this iTunes Library. So how to restore its usefulness without recreating the problem? Slightly more aggravating, but still working right: I created a separate, fresh new library and named it iTunes Match. When I need music, I hold option when selecting the iTunes app and select my Match Library, which has NOTHING else in it but iTunes Match. When I'm done with the music, I switch back to my 24/7 media streaming library that has my 2TB of TV Shows & Movies (and device sync relationships) in it.
It doesn't seem like iTunes Match causes freezing and RAM ballooning all by itself, it just seems like in a library that's also full of other stuff, it's the final straw that kills the performance. Split the libraries up and things seem to work really well in both.
Not a perfect solution, but until the next release of iTunes, this may be the best bet. I hope this helps someone else out there, but it at least cleared up my issue. Thanks for reading. -
ITunes crashes overnight with EXC_BAD_ACCESS KERN_INVALID_ADDRESS
I leave iTunes running 24/7 as a music and video server for home sharing. After upgrading to a new 2012 iMac and migrating data, I had everything up and running again quickly. But I noticed that each day when I would wake up in the morning that iTunes had crashed overnight. At first I thought it was because I was still running iTunes 10.7 so I upgraded to 11.01 a few days ago, but the crashes continue.
It always happens when I'm not using it, although a few iphones and ipads will be visible in the side bar that sync wirelessly. However, I have iTunes set to not automatically sync. I have to manually click on sync for it to happen. iTunes match is on, but it shouldn't be actively scanning and uploading at 5-6AM when the crashes occur.
(1) I tried repairing permissions, and several things were fixed, but two things remain that it never fixes when I run repair a few times, and the second one that says it was repaired still comes up every time that it was repaired. I don't know if that affects things in this case.
"Repairing permissions for “Macintosh HD”
Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.
Permissions differ on “usr/lib/ruby”; should be lrwxr-xr-x ; they are drwxr-xr-x .
Repaired “usr/lib/ruby”
Permissions repair complete"
(2) For completeness I will add that I am running the very same background menubar apps that I did on the old 3GB RAM iMac with 10.7.5 where iTunes NEVER ever crash overnight. All apps are the most recent version which are - Dropbox, ServeToMe, LaCie network assistant, iCleanMemory, and Twonky Server. iCleanMemory is not set to do anything but display the RAM used. That is all I have running at the same time as iTunes, with about 13GB free RAM.
(3) Below is a copy of the crash report from this morning. The KERN_INVALID_ADDRESS was different yesterday = Exception Codes: KERN_INVALID_ADDRESS at 0x000000013c28bd0c
Can anyone help, short of me having to bring in the iMac with my 3GB external drive with iTunes library?
Process: iTunes [1395]
Path: /Applications/iTunes.app/Contents/MacOS/iTunes
Identifier: com.apple.iTunes
Version: 11.0.1 (11.0.1)
Build Info: iTunes-1101012001000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [184]
User ID: 503
Date/Time: 2012-12-18 06:28:33.607 -0700
OS Version: Mac OS X 10.8.2 (12C2034)
Report Version: 10
Interval Since Last Report: 555573 sec
Crashes Since Last Report: 35
Per-App Interval Since Last Report: 95234 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: E37EEC53-3D58-C024-130D-60CCE07454F5
Crashed Thread: 11
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000194c76e7c
VM Regions Near 0x194c76e7c:
MALLOC_LARGE 000000016b011000-000000016b063000 [ 328K] rw-/rwx SM=PRV
-->
CG shared images 00000001c0001000-00000001c0009000 [ 32K] rw-/rw- SM=SHM
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff82cc7686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff82cc6c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff85e0a803 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff85e0fee6 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff85e0f6b2 CFRunLoopRunSpecific + 290
5 com.apple.HIToolbox 0x00007fff871f20a4 RunCurrentEventLoopInMode + 209
6 com.apple.HIToolbox 0x00007fff871f1e42 ReceiveNextEventCommon + 356
7 com.apple.HIToolbox 0x00007fff871f1cd3 BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff86126613 _DPSNextEvent + 685
9 com.apple.AppKit 0x00007fff86125ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10 com.apple.AppKit 0x00007fff8611d283 -[NSApplication run] + 517
11 com.apple.iTunes 0x0000000109ff64c3 0x109e04000 + 2041027
12 com.apple.iTunes 0x0000000109ff634c 0x109e04000 + 2040652
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff82cc9d16 kevent + 10
1 libdispatch.dylib 0x00007fff8af6fdea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff8af6f9ee _dispatch_mgr_thread + 54Someone told me to download iTunes and re-install it manually. I completely removed iTunes 11.0.1 using iboostup premium app from the app store, and re-installed it. (had to chg ownership of iTunes to me (read and write) to delete the app itself). Several items in the library com.apple.itunes were removed, including Cache.db, goog-phish-shavar.dat and goog-phish-shavar.db, and StoreLocalStorage.plist (i saved them in a folder instead of leaving in the trash)
I have the iTunes side bar visible, and after I relaunched iTunes I noticed that the little "cloud" icon to the right of the Movies and TV Shows sections is not there anymore, only the little cloud to the right of the Music section. My 1st Gen Apple TV and iPhone and iPad still show up in the sidebar wirelessly.
I just told iTunes to update iTunes Match to see what happens. It's at "Delivering your iTunes Match results..." as I type to this point. Okay, it's done no problem, 17,788 songs are in the cloud.
However, the little cloud icon next to movies and tv shows is still gone, even though it's set to show movies and TV Shows in the cloud. The 2 movies and 9 TV shows that are purchased but not on my computer still do not show up in their sections. The 20 songs that are in the cloud that I don't want on my computer show up in the music section as downloadable, like normal.
I assume this is all due to my totally removing and re-installing iTunes, but I can't see how to get them back. When I choose hide TV shows in the cloud, and then choose SHOW TV shows in the cloud it does nothing. Same with movies. -
Authority to save photos in Photoshop
All of a sudden, in Photoshop, I can't save photos to certain places. I get the message that I don't have that authority, and I should contact
the administrator for permission. How to I correct this? It is new since I installed a new printer and a new version of Norton Internet
Securities. Please help. Thanks.Curt,
I agree that Norton would be a prime suspect. With active-scan anti-virus, anti-malware, anti-anything, one probably has to set Permissions, or the writing (and maybe even reading) a file, will be stopped.
Some of the newer anti-whatever programs, really mess with programs, that do a lot of reads/writes, like Premiere Pro, which creates a lot of working files, and then needs to read from them. Often the anti-whatever programs will just cause a time-out, as it insists on scanning all files, when written, and then scanning them again, before it allows a read from that file. I would anticipate that similar is happening with PS, especially during a write (Save/Save_As) operation.
For that reason, most people using Premiere Pro turn all such programs OFF, when involved in an editing session. Of course, they should NOT have any Internet presence, during an editing session, as the "gates are down."
Hunt -
Someone please help
There isn't a seamless solution unless you fall asleep and wake up when computers have reached the Star Trek level of development.
iTunes does not actively scan for additions to the media folder. The only way a library knows something has been added its if that particular library did the adding. If you add with one library and then start another using the same media folder it won't see the addition unless you also add it to that one.
You could split your media storage with a single library, keeping some on the external and some on the internal. If the external is not attached and you try to play a song iTunes will present you with a ! saying the link is broken, but if you quit iTunes, attach the drive and restart the links should fix themselves again. There isn't a way to get one iTunes library to automatically update another except what might be possible with Home Sharing and I don't know if this extends to your particular application. I believe it might also end up duplicating media like crazy. I can't run Home Sharing so I can't test it to see exactly what is possible. It may require you be running the libraries from different user accounts.
You could search on the web for third party tools that might synchronize multiple libraries. -
ITunes 12.1.1 has stopped working?
Every time I lunch itunes and choose an action such as radio or iTunes Store I get a message saying: iTunes has stopped working. Cannot use it, please help....
Hey k23cr,
The resource below will provide some steps to try if the iTunes for Windows application is unresponsive. I've highlighted some key information here for you. Click on the article for complete details.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues - Apple Support
https://support.apple.com/en-lb/HT203206
System-wide troubleshooting
When troubleshooting system-wide issues with iTunes, try these steps:
Check for viruses. Windows viruses can interfere with a variety of computer functions, including iTunes.
Make sure that you have current anti-virus software installed with up-to-date virus definitions.
Scan your system.
Check for anti-virus and Internet security software. Internet security software may cause iTunes to quit unexpectedly. Try disabling the Internet security software temporarily or exempting iTunes from any active scanning done by the software. If this resolves the issue, check with the maker of the software for an update to the software or its virus definitions. Learn more about fixing security software issues.
Check for conflicting processes. Sometimes other programs and startup items can conflict with iTunes.
Remove iTunes configuration files. Removing unusable configuration files from iTunes can resolve launch issues.
Check the iTunes installations. An improper installation of iTunes can contribute to a variety of issues. Follow these steps to completely reinstall iTunes.
Update the drivers on your PC. Outdated drivers on your computer can cause strange behavior with iTunes, iPod devices, and other apps. Learn how to update the drivers on your computer.
I hope this information helps ....
- Judy
- Judy -
Hi,
saw this post in similar Versions but never with a "cool solution" :)
We got NetApp 2050 as Filer in a Windows Server 2008 R2 Domain with Windows 7 Clients and Office 2010 Pro Plus, all up to date with WSUS.
If I open an Excel 2010 sheet on the Netapp Share or a Share on the Domain Controller and close it, it do not delte the temp file.
Same to PowerPoint 2010.
But with Word 2010, this works!
Therefor I don't think, this will be the NTFS permissions or Network issues.
We also got VMware Clients with Windows 7 and Office 2010. There the issue does not occure!!!
May be something in Group Policies? Could it be some Microsoft Updates?
I'm very interested in your opinions...
Best regards...Hi,
As far as I know, the issue usually caused by the anti-virus actively scanning Excel files (XLS, XLSX, or XLSM files). Please try to make the anti-virus to not actively scan Excel files.
Then, if you are using Kaspersky 2009, I recommend we try the below method:
Go to Run>Regedit>Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KLIF\Parameters>Create the key NonCachedIo (Type: Dword Value:1)
Next, some other customer solved the issue by turning off the index with the effected folders.
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
When I add a folder to the library, does that mean that 'later' when I drop a new file into that folder (already added) it will automatically end up in iTunes? (or do I have to add file/folder to library every time I have a new file??) I'm using XP...
iTunes does not actively scan the media folders. If you manually add content to a folder, then you must add that content to iTunes manually via the File > Add File/Folder feature.
The only folder that gets scanned is the "Automatically add to iTunes" folder. -
How to integrate a whole-house user setup
How to integrate a whole-house user setup
To start, I have seen an AppleTV box through the window of an Apple Store, about a year ago. That's about my degree of experience with one. I don't know what it needs in terms of file server support.
You don't need to add another computer in all this. Put the files on some central drive and share media off there using multiple libraries on each computer -- that's pretty much what you are doing now anyway. You might be able to piggy-back your current drive onto a Time Capsule or similar. The main issue will be transferring files to the drive without breaking links in existing libraries. They may be ways to facilitate that so they can be repaired easily. For that matter, as long as the present external drive remains unchanged then iTunes may not even notice it is connected differently and you'e up and running in no time.
You may be able to move your wife's collection to the external by consolidating to the media folder there. If all of her collection is unique you can probably even add it to the same media folder as the main one. If there's overlap in content that may be moderately risky (I personally would try it but would make sure I had a solid backup first).
iTunes 11 for Mac: Change where your iTunes files are stored - http://support.apple.com/kb/PH12165 - more information at: https://discussions.apple.com/message/22026652 - and steps 5-8 in https://discussions.apple.com/message/24491967
iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/ht1449
Realize that iTunes does not actively scan the media folder for additions. If your wife puts a movie in her library it will add to the media folder but it won't automatically appear on another computer until a person actively goes to the media foler and adds that file to their iTunes library. It's like a public library (except now my library tells me if they have added a book by an author I like so I guess my analogies are starting to fall apart). -
W520 - Things went wrong even after malware cleared from the system.
Hi all,
This https://s-hphotos-ash4.fbcdn.net/266595_10150235955672730_716037729_7316157_8173605_o.jpg happens after the malware was spread from my lecturer's laptop > my portable hdd > to my W520.
W520 - 4284-A99 - Windows 7 Ultimate SP1
So far, I have tried:
System Restore (being erased away after infected)
Run Full Scan with Symantec Endpoint Protection 11 MR6 RU3
Run Full Scan with ESET Smart Security Business Edition 4.2.71.2
Run HijackThis and remove some files.
Reinstalled IE9
But the problem still exist, if im not wrong, currently only IE is being damaged.
Should I do a repair installation or reinstallation of Windows?
Thank You
Peter
=============================================
Does someone post helps you? Give them a kudos as a reward, as they will do better to improve
Refunded Set: W510, 4876-A11
Current Set: W520, 4284-A99
I would welcome T520 or W520 users to try this sound optimization:
http://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/W520-Sound-Enhancement-Thread/m-p/451401#M1551...Hi PeterTWJ,
ColonelONeill, has been working with you, so I will let the two of you continue until the malware issue is resolved. However, I would like to comment on the question regarding two AV's.
Anti-Virus programs take up an enormous amount of your computer's resources when they are actively scanning your computer. Having two anti-virus programs running at the same time can cause your computer to run very slowly, to become unstable, and even, in rare cases, to crash.
With more than one anti-virus program on the same computer, there is a chance for conflicts if a machine becomes infected. At that point each of the anti-virus programs wants to "control" the situation and in some cases, the job of removing the virus doesn't get done at all. In addition, you will experience slowdown as each is trying to run in realtime.
A better option would be to install one good anti-virus, keep it current, and use it as designed. If a second opinion is needed, use one of the online virus scanners or run one as an “On-Demand” scanner only. In other words, if you choose to install more than one anti-virus program on your computer, then only one of them should be active in memory at a time.
Regards,
Bugbatter
ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
Microsoft MVP - Consumer Security
SpywareHammer -
Copying Query & Formatting on Worksheet to New Worksheet in Same Workbook
Hi,
Can anyone advise me the quickest way to copy a query that is working on one worksheet to a new worksheet. More importantly how do I retain the formatted features of the worksheet from which I am coping from? I have tried to copy the query to a new worksheet which is OK but I cannot seem to retain the format features from the original worksheet. Am I missing something simple? We are on version 3.5.
ThanksShanky_621: Thanks for taking the time to help. The following blog article talks about what I'm trying to do:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;914288
The goal is to recreate the inefficent plan on a test database without copying the data. The article talks about this as a "statistics only copy".
You noted, "SQL server generating query plan is internal mechanism into which we cannot interfere unless we use Query hint...". The engine uses statistics and histograms to generate plans then choose the most efficent one for execution. Those statistics
are generated from data in the database, and that process is done periodically. You don't think the engine actively scans each table in a query each and every time a query is run? Right! That would be crazy. It just checks the stats. What I'm trying to
do is pull the stats from one database into another. The article does a better job explaining this.
JRStern (Josh): Yes brother! You understand what I'm trying to do. Like you, I am wrestling with a feature/process I've only read about. The actual execution is... not as expected. I actually just found the article I noted to Shanky. I'm trying that process
now. I'll tell you how it goes.
Adam
Maybe you are looking for
-
How can I combine multiple icloud calendars into a single published calendar?
I have several calendars in Ical where I map my activities and schedules. Like many I need several calendars to categorise events. Now, I'd like others to see when I'm free and when I'm unavailable. For this, I'd need to find a way to copy multiple I
-
HT201342 How can I change my iCloud account email address?
My son is starting to get daily Spam messages & I would like to obtain a new iCloud.com email address for him. Does anyone know if this is possible? Thank you for your time!
-
Macbook Pro (mid 2012) Running progressively slower
I am having issues with the upgrade. I installed Yosemite when it first came out. I have a Macbook Pro (Mid 2012) with 8 GB of memory and 219 GB free of my 750 GB hard drive. Since the install some processes have started to become slower and slower
-
Problem relating painting swing component
Hi All, I am making a swing application in which there is one central Panel on which i am showing some dynamic contents from database but the problem is that data is comming from database but it is not painted automatically on screen and when i move
-
URGENT: Stuff I Purchase I Itunes doesn't Transfer!
I just purchased an application, Dracula or something like that for my Ipod Touch and it never downloaded and transferred over to my Itunes. Something this occured a month ago or so when I purchased a Darian Rucker single and it never showed up on my