ralink_drivers/rt2870_fbsd8.git
14 years agonet80211's newassoc should be called from process contextmaster
Alexander Egorenkov [Sun, 16 May 2010 09:28:21 +0000 (16 11:28 +0200)]
net80211's newassoc should be called from process context

14 years agoDo not use ShortGI and STBC with management frames; Atheros cards have problems with...
Alexander Egorenkov [Sat, 15 May 2010 23:03:02 +0000 (16 01:03 +0200)]
Do not use ShortGI and STBC with management frames; Atheros cards have problems with ShortGI and MGMT frames

14 years agoAdded new USB device Ralink RT2870
Alexander Egorenkov [Tue, 6 Apr 2010 20:14:59 +0000 (6 22:14 +0200)]
Added new USB device Ralink RT2870

14 years agoFixed a typo
Alexander Egorenkov [Fri, 26 Mar 2010 19:24:25 +0000 (26 20:24 +0100)]
Fixed a typo

14 years agoSet ifnet pointer of mbuf to NULL after dequeuing it from ifnet's send queue
Alexander Egorenkov [Sat, 20 Mar 2010 21:14:43 +0000 (20 22:14 +0100)]
Set ifnet pointer of mbuf to NULL after dequeuing it from ifnet's send queue

14 years agoIt's not necessary to poll ifnet's send queue, just dequeue
Alexander Egorenkov [Sat, 20 Mar 2010 21:09:28 +0000 (20 22:09 +0100)]
It's not necessary to poll ifnet's send queue, just dequeue

14 years agoDo not check RT2870_SOFTC_FLAGS_VALID flag in rt2870_vap_newstate
Alexander Egorenkov [Sat, 20 Mar 2010 20:57:24 +0000 (20 21:57 +0100)]
Do not check RT2870_SOFTC_FLAGS_VALID flag in rt2870_vap_newstate

14 years agoRemoved macros RT2870_AID2WCID and RT2870_ACK_SIZE
Alexander Egorenkov [Sat, 20 Mar 2010 20:19:09 +0000 (20 21:19 +0100)]
Removed macros RT2870_AID2WCID and RT2870_ACK_SIZE

14 years agoIncreased size of Rx ring to 256
Alexander Egorenkov [Sat, 20 Mar 2010 18:55:23 +0000 (20 19:55 +0100)]
Increased size of Rx ring to 256

14 years agoCheck if device is valid before running async commands
Alexander Egorenkov [Sat, 20 Mar 2010 12:05:57 +0000 (20 13:05 +0100)]
Check if device is valid before running async commands

14 years agoDo not try to update protection when device is already detached
Alexander Egorenkov [Sat, 20 Mar 2010 10:37:37 +0000 (20 11:37 +0100)]
Do not try to update protection when device is already detached

14 years agoFixed legacy basic rate bitmap for B mode
Alexander Egorenkov [Fri, 19 Mar 2010 10:47:41 +0000 (19 11:47 +0100)]
Fixed legacy basic rate bitmap for B mode

14 years agoAdded A-MPDU Rx session counter; Added hooks for ic_ampdu_rx_start and ic_ampdu_rx_st...
Alexander Egorenkov [Thu, 18 Mar 2010 21:44:52 +0000 (18 22:44 +0100)]
Added A-MPDU Rx session counter; Added hooks for ic_ampdu_rx_start and ic_ampdu_rx_stop; Catch negative A-MPDU Tx/Rx session values

14 years agoFixed problems with channel configuration
Alexander Egorenkov [Thu, 18 Mar 2010 18:35:44 +0000 (18 19:35 +0100)]
Fixed problems with channel configuration

14 years agoU2ME mask was not set
Alexander Egorenkov [Thu, 18 Mar 2010 10:55:33 +0000 (18 11:55 +0100)]
U2ME mask was not set

14 years agoSmall typos fixed
Alexander Egorenkov [Thu, 18 Mar 2010 09:45:44 +0000 (18 10:45 +0100)]
Small typos fixed

14 years agoClear BA session bit after receiving DELBA request only if STA id is not zero
Alexander Egorenkov [Thu, 18 Mar 2010 09:37:06 +0000 (18 10:37 +0100)]
Clear BA session bit after receiving DELBA request only if STA id is not zero

14 years agoIntroduced functions to add/delete BA sessions; Enabled Pre-TBTT and TBTT interrupts
Alexander Egorenkov [Thu, 18 Mar 2010 09:33:52 +0000 (18 10:33 +0100)]
Introduced functions to add/delete BA sessions; Enabled Pre-TBTT and TBTT interrupts

14 years agoIntroduced Rx A-MPDU retry statistic counter in order to debug A-MPDU Rx problems
Alexander Egorenkov [Wed, 17 Mar 2010 12:22:14 +0000 (17 13:22 +0100)]
Introduced Rx A-MPDU retry statistic counter in order to debug A-MPDU Rx problems

14 years agoAdded retry information to Rx debugging message
Alexander Egorenkov [Wed, 17 Mar 2010 11:08:12 +0000 (17 12:08 +0100)]
Added retry information to Rx debugging message

14 years agoIncrease node reference counter during BAR sending
Alexander Egorenkov [Tue, 16 Mar 2010 22:04:07 +0000 (16 23:04 +0100)]
Increase node reference counter during BAR sending

14 years agoAdded own send BAR function without callback logic
Alexander Egorenkov [Tue, 16 Mar 2010 21:19:54 +0000 (16 22:19 +0100)]
Added own send BAR function without callback logic

14 years agoDisabled sending BAR frame after receiving ADDBA response; Pass 0 as status to ieee80...
Alexander Egorenkov [Tue, 16 Mar 2010 20:16:10 +0000 (16 21:16 +0100)]
Disabled sending BAR frame after receiving ADDBA response; Pass 0 as status to ieee80211_process_callback

14 years agoUse ieee80211_anyhdrsize/ieee80211_anyhdrspace instead of ieee80211_hdrsize/ieee80211...
Alexander Egorenkov [Tue, 16 Mar 2010 18:55:14 +0000 (16 19:55 +0100)]
Use ieee80211_anyhdrsize/ieee80211_anyhdrspace instead of ieee80211_hdrsize/ieee80211_hdrspace because of control frames (e.g. BAR); Pass 1 as status to ieee80211_process_callback

14 years agoUpdate WCID entry during new association properly
Alexander Egorenkov [Tue, 16 Mar 2010 11:44:47 +0000 (16 12:44 +0100)]
Update WCID entry during new association properly

14 years agoZero out WCID entry after node is cleaned up
Alexander Egorenkov [Tue, 16 Mar 2010 11:32:16 +0000 (16 12:32 +0100)]
Zero out WCID entry after node is cleaned up

14 years agoUse temporarily CFP radiotap flag as A-MPDU flag
Alexander Egorenkov [Tue, 16 Mar 2010 10:41:08 +0000 (16 11:41 +0100)]
Use temporarily CFP radiotap flag as A-MPDU flag

14 years agoSend BAR after successfull ADDBA response
Alexander Egorenkov [Tue, 16 Mar 2010 09:34:07 +0000 (16 10:34 +0100)]
Send BAR after successfull ADDBA response

14 years agoImproved BA window size assignment
Alexander Egorenkov [Tue, 16 Mar 2010 07:45:12 +0000 (16 08:45 +0100)]
Improved BA window size assignment

14 years agoChanged debugging message in ic_addba_response hook
Alexander Egorenkov [Tue, 16 Mar 2010 07:32:53 +0000 (16 08:32 +0100)]
Changed debugging message in ic_addba_response hook

14 years agoHook ic_addba_response and ic_addba_stop functions in order to be able to count activ...
Alexander Egorenkov [Tue, 16 Mar 2010 07:24:51 +0000 (16 08:24 +0100)]
Hook ic_addba_response and ic_addba_stop functions in order to be able to count active A-MPDU Tx sessions properly

14 years agoPID 0 means do not collect FIFO Tx statistic
Alexander Egorenkov [Tue, 16 Mar 2010 07:04:59 +0000 (16 08:04 +0100)]
PID 0 means do not collect FIFO Tx statistic

14 years agoFixed problem with 5GHz channels
Alexander Egorenkov [Tue, 16 Mar 2010 07:01:28 +0000 (16 08:01 +0100)]
Fixed problem with 5GHz channels

14 years agoAdded A-MPDU density and BA window size to Tx debugging message
Alexander Egorenkov [Mon, 15 Mar 2010 13:48:08 +0000 (15 14:48 +0100)]
Added A-MPDU density and BA window size to Tx debugging message

14 years agoChanged default value of Tx STBC to 1
Alexander Egorenkov [Mon, 15 Mar 2010 11:35:03 +0000 (15 12:35 +0100)]
Changed default value of Tx STBC to 1

14 years agoDo not use STBC if MCS > 7 during frame transmission
Alexander Egorenkov [Mon, 15 Mar 2010 11:30:30 +0000 (15 12:30 +0100)]
Do not use STBC if MCS > 7 during frame transmission

14 years agoBA bit in Rx info tells us if received frame is A-MPDU
Alexander Egorenkov [Mon, 15 Mar 2010 10:44:32 +0000 (15 11:44 +0100)]
BA bit in Rx info tells us if received frame is A-MPDU

14 years agoAdded TID information to Rx frame debugging message
Alexander Egorenkov [Mon, 15 Mar 2010 10:17:17 +0000 (15 11:17 +0100)]
Added TID information to Rx frame debugging message

14 years agoAdded more info to Rx frame debugging message
Alexander Egorenkov [Mon, 15 Mar 2010 10:06:44 +0000 (15 11:06 +0100)]
Added more info to Rx frame debugging message

14 years agoClear WCID entry when node is cleaned up
Alexander Egorenkov [Sun, 14 Mar 2010 18:14:47 +0000 (14 19:14 +0100)]
Clear WCID entry when node is cleaned up

14 years agoEnable A-MPDU Rx only when ADDBA response is successfull
Alexander Egorenkov [Sun, 14 Mar 2010 17:35:26 +0000 (14 18:35 +0100)]
Enable A-MPDU Rx only when ADDBA response is successfull

14 years agoTest for VAP ShortGI flag during frame transmission; Added sysctl Tx STBC control...
Alexander Egorenkov [Sun, 14 Mar 2010 16:21:04 +0000 (14 17:21 +0100)]
Test for VAP ShortGI flag during frame transmission; Added sysctl Tx STBC control variable in order to be able to change Tx STBC feature dynamically

14 years agoFixed problem with beacon Tx rate
Alexander Egorenkov [Sun, 14 Mar 2010 13:00:21 +0000 (14 14:00 +0100)]
Fixed problem with beacon Tx rate

14 years agoOptimized ShortGI test during frame transmission
Alexander Egorenkov [Sun, 14 Mar 2010 10:20:02 +0000 (14 11:20 +0100)]
Optimized ShortGI test during frame transmission

14 years agoDo not update node AMRR Tx statistic with data read from Tx statistic registers,...
Alexander Egorenkov [Sun, 14 Mar 2010 09:54:22 +0000 (14 10:54 +0100)]
Do not update node AMRR Tx statistic with data read from Tx statistic registers, use only FIFO Tx statistic for this purpose

14 years agoAdded flag RT2870_SOFTC_FLAGS_VALID; Improved USB IO error messages
Alexander Egorenkov [Sun, 14 Mar 2010 08:49:33 +0000 (14 09:49 +0100)]
Added flag RT2870_SOFTC_FLAGS_VALID; Improved USB IO error messages

14 years agoRun node cleanup in process context
Alexander Egorenkov [Sat, 13 Mar 2010 22:22:30 +0000 (13 23:22 +0100)]
Run node cleanup in process context

14 years agoClear key tables during device attaching
Alexander Egorenkov [Sat, 13 Mar 2010 21:15:34 +0000 (13 22:15 +0100)]
Clear key tables during device attaching

14 years agoAdded sysctl variable for Tx A-MPDU sessions
Alexander Egorenkov [Sat, 13 Mar 2010 09:32:16 +0000 (13 10:32 +0100)]
Added sysctl variable for Tx A-MPDU sessions

14 years agoDo not use VAPs in key set/delete callbacks, pass only opmode
Alexander Egorenkov [Fri, 12 Mar 2010 22:32:11 +0000 (12 23:32 +0100)]
Do not use VAPs in key set/delete callbacks, pass only opmode

14 years agoAdded WDS support with encryption; Simultaneous MONITOR mode VAPs with other mode VAP
Alexander Egorenkov [Fri, 12 Mar 2010 22:13:22 +0000 (12 23:13 +0100)]
Added WDS support with encryption; Simultaneous MONITOR mode VAPs with other mode VAP

14 years agoReset command ring during device attaching because in HOSTAP mode key setting/deletin...
Alexander Egorenkov [Fri, 12 Mar 2010 09:15:58 +0000 (12 10:15 +0100)]
Reset command ring during device attaching because in HOSTAP mode key setting/deleting happens while device is not running

14 years agoSet radiotap WEP flag for received frames
Alexander Egorenkov [Thu, 11 Mar 2010 19:00:18 +0000 (11 20:00 +0100)]
Set radiotap WEP flag for received frames

14 years agoReset WCID attribute in HOSTAP mode during key deleting; Test for WCID 0(mcast/bcast...
Alexander Egorenkov [Thu, 11 Mar 2010 12:23:40 +0000 (11 13:23 +0100)]
Reset WCID attribute in HOSTAP mode during key deleting; Test for WCID 0(mcast/bcast) during new association and key setting/deleting; Key setting/deleting functions should return 0 on failure

14 years agoDo not clear key tables during initialization
Alexander Egorenkov [Wed, 10 Mar 2010 21:03:49 +0000 (10 22:03 +0100)]
Do not clear key tables during initialization

14 years agoAdded statistic counters for cipher errors
Alexander Egorenkov [Wed, 10 Mar 2010 14:27:18 +0000 (10 15:27 +0100)]
Added statistic counters for cipher errors

14 years agoUpdate WCID attribute for group key in HOSTAP mode
Alexander Egorenkov [Wed, 10 Mar 2010 14:23:45 +0000 (10 15:23 +0100)]
Update WCID attribute for group key in HOSTAP mode

14 years agoUse wk_macaddr field of struct ieee80211_key to get WCID
Alexander Egorenkov [Wed, 10 Mar 2010 13:40:53 +0000 (10 14:40 +0100)]
Use wk_macaddr field of struct ieee80211_key to get WCID

14 years agoImplemented funtion ic_node_getmimoinfo; Save RSSI data in dB per node
Alexander Egorenkov [Tue, 9 Mar 2010 20:13:25 +0000 (9 21:13 +0100)]
Implemented funtion ic_node_getmimoinfo; Save RSSI data in dB per node

14 years agoBeacons were not properly updated
Alexander Egorenkov [Sun, 7 Mar 2010 14:29:50 +0000 (7 15:29 +0100)]
Beacons were not properly updated

14 years agoFixed several invalid VAP accesses
Alexander Egorenkov [Sat, 6 Mar 2010 12:52:50 +0000 (6 13:52 +0100)]
Fixed several invalid VAP accesses

14 years agoAdded MIMO PS flag to Tx debugging messages
Alexander Egorenkov [Fri, 5 Mar 2010 20:07:53 +0000 (5 21:07 +0100)]
Added MIMO PS flag to Tx debugging messages

14 years agoAdded support for HT MIMO power save
Alexander Egorenkov [Fri, 5 Mar 2010 15:01:29 +0000 (5 16:01 +0100)]
Added support for HT MIMO power save

14 years agoRemoved HT capabilities IEEE80211_HTCAP_MCSFBACK_UNSOL and IEEE80211_HTCAP_HTC from...
Alexander Egorenkov [Thu, 4 Mar 2010 21:46:33 +0000 (4 22:46 +0100)]
Removed HT capabilities IEEE80211_HTCAP_MCSFBACK_UNSOL and IEEE80211_HTCAP_HTC from ic->ic_htcap; Set back to 0 number of Tx A-MPDU sessions during initialization

14 years agoNotify net80211 about MIC failures; Set BADFCS and FRAG flags in radiotap header...
Alexander Egorenkov [Thu, 4 Mar 2010 15:09:05 +0000 (4 16:09 +0100)]
Notify net80211 about MIC failures; Set BADFCS and FRAG flags in radiotap header for received frames

14 years agoTx HT frames with STBC only if we have 2 or more Tx antennas
Alexander Egorenkov [Thu, 4 Mar 2010 08:47:34 +0000 (4 09:47 +0100)]
Tx HT frames with STBC only if we have 2 or more Tx antennas

14 years agoProbe responses must be acknowledged
Alexander Egorenkov [Wed, 3 Mar 2010 10:07:02 +0000 (3 11:07 +0100)]
Probe responses must be acknowledged

14 years agoEnabled new HT capabilities: HTC+ and unsolicited MCS feedback; Disabled HT capabilit...
Alexander Egorenkov [Sun, 28 Feb 2010 15:56:13 +0000 (28 16:56 +0100)]
Enabled new HT capabilities: HTC+ and unsolicited MCS feedback; Disabled HT capability 'DSSS/CCK in 40MHz' and 'SM Power Save mode'

14 years agoEnable short slot time when Tx burst is enabled
Alexander Egorenkov [Sun, 28 Feb 2010 08:34:11 +0000 (28 09:34 +0100)]
Enable short slot time when Tx burst is enabled

14 years agoEnabled background scanning
Alexander Egorenkov [Sat, 27 Feb 2010 16:28:14 +0000 (27 17:28 +0100)]
Enabled background scanning

14 years agoCorrect BA window size
Alexander Egorenkov [Sat, 27 Feb 2010 08:40:10 +0000 (27 09:40 +0100)]
Correct BA window size

14 years agoDisable RTS threshold when A-MSDU Tx is enabled
Alexander Egorenkov [Sat, 27 Feb 2010 08:37:41 +0000 (27 09:37 +0100)]
Disable RTS threshold when A-MSDU Tx is enabled

14 years agoAdded more Tx/Rx statistic counters
Alexander Egorenkov [Fri, 26 Feb 2010 11:28:13 +0000 (26 12:28 +0100)]
Added more Tx/Rx statistic counters

14 years agoStore last RSSI dBm per node
Alexander Egorenkov [Fri, 26 Feb 2010 07:36:27 +0000 (26 08:36 +0100)]
Store last RSSI dBm per node

14 years agoSet Rx A-MPDU factor to 2 (32Kbyte)
Alexander Egorenkov [Thu, 25 Feb 2010 07:19:17 +0000 (25 08:19 +0100)]
Set Rx A-MPDU factor to 2 (32Kbyte)

14 years agoFallback Tx rate for MCS8 is MCS7
Alexander Egorenkov [Tue, 23 Feb 2010 15:29:43 +0000 (23 16:29 +0100)]
Fallback Tx rate for MCS8 is MCS7

14 years agoDuration value was too short for Tx frames sent in HT mode
Alexander Egorenkov [Tue, 23 Feb 2010 10:19:22 +0000 (23 11:19 +0100)]
Duration value was too short for Tx frames sent in HT mode

14 years agoKey should be set in process context in order to avoid potential deadlock
Alexander Egorenkov [Mon, 22 Feb 2010 20:47:04 +0000 (22 21:47 +0100)]
Key should be set in process context in order to avoid potential deadlock

14 years agoFixed bug in AMRR: HT rates in ni_htrates have the bit 7 set
Alexander Egorenkov [Mon, 22 Feb 2010 19:16:27 +0000 (22 20:16 +0100)]
Fixed bug in AMRR: HT rates in ni_htrates have the bit 7 set

14 years agoCollect Tx FIFO statistic more often
Alexander Egorenkov [Mon, 22 Feb 2010 11:54:56 +0000 (22 12:54 +0100)]
Collect Tx FIFO statistic more often

14 years agoUse field ni_txparms of ieee80211_node and not iv_txparms of ieee80211vap during Tx
Alexander Egorenkov [Mon, 22 Feb 2010 08:10:23 +0000 (22 09:10 +0100)]
Use field ni_txparms of ieee80211_node and not iv_txparms of ieee80211vap during Tx

14 years agoRemoved carriage returns
Alexander Egorenkov [Sun, 21 Feb 2010 10:59:46 +0000 (21 11:59 +0100)]
Removed carriage returns

14 years agoFixed AMRR issue with only one Tx antenna and MCS32
Alexander Egorenkov [Sun, 21 Feb 2010 10:57:37 +0000 (21 11:57 +0100)]
Fixed AMRR issue with only one Tx antenna and MCS32

14 years agoUse ni_chw field in ieee80211_node to choose the right bandwidth during Tx
Alexander Egorenkov [Thu, 18 Feb 2010 15:08:55 +0000 (18 16:08 +0100)]
Use ni_chw field in ieee80211_node to choose the right bandwidth during Tx

14 years agoUse ShortGI only when a peer supports it
Alexander Egorenkov [Thu, 18 Feb 2010 10:07:34 +0000 (18 11:07 +0100)]
Use ShortGI only when a peer supports it

14 years agoAdded aggregated flag to FIFO Tx statistic debugging messageampdu_tx
Alexander Egorenkov [Tue, 16 Feb 2010 20:09:41 +0000 (16 21:09 +0100)]
Added aggregated flag to FIFO Tx statistic debugging message

14 years agoA-MPDU Tx support; Increased size of Tx ring to 256
Alexander Egorenkov [Tue, 16 Feb 2010 18:57:45 +0000 (16 19:57 +0100)]
A-MPDU Tx support; Increased size of Tx ring to 256

14 years agoDo not update AMRR statistic in MONITOR mode
Alexander Egorenkov [Sat, 13 Feb 2010 17:44:10 +0000 (13 18:44 +0100)]
Do not update AMRR statistic in MONITOR mode

14 years agoAdded statistic counters for Tx data queue full
Alexander Egorenkov [Sat, 13 Feb 2010 17:32:08 +0000 (13 18:32 +0100)]
Added statistic counters for Tx data queue full

14 years agoAdded a new debugging message for AMRR statistic
Alexander Egorenkov [Sat, 13 Feb 2010 17:26:42 +0000 (13 18:26 +0100)]
Added a new debugging message for AMRR statistic

14 years agoFixed removing pairwise key
Alexander Egorenkov [Fri, 12 Feb 2010 07:40:25 +0000 (12 08:40 +0100)]
Fixed removing pairwise key

14 years agoAdded Rx A-MPDU and Rx A-MSDU statistic counters
Alexander Egorenkov [Fri, 12 Feb 2010 07:36:19 +0000 (12 08:36 +0100)]
Added Rx A-MPDU and Rx A-MSDU statistic counters

14 years agoImproved rt2870_update_stats
Alexander Egorenkov [Tue, 9 Feb 2010 18:33:16 +0000 (9 19:33 +0100)]
Improved rt2870_update_stats

14 years agoResolved compiler warning
Alexander Egorenkov [Tue, 9 Feb 2010 14:53:03 +0000 (9 15:53 +0100)]
Resolved compiler warning

14 years agoBeacon frame space on chip cleared at initialization
Alexander Egorenkov [Tue, 9 Feb 2010 14:43:36 +0000 (9 15:43 +0100)]
Beacon frame space on chip cleared at initialization

14 years agoAdded Tx A-MPDU statistic counter
Alexander Egorenkov [Tue, 9 Feb 2010 14:41:35 +0000 (9 15:41 +0100)]
Added Tx A-MPDU statistic counter

14 years agoAdded more Tx statistic counters
Alexander Egorenkov [Tue, 9 Feb 2010 14:34:02 +0000 (9 15:34 +0100)]
Added more Tx statistic counters

14 years agoFixed RSSI data passed to net80211; Added BBP tuning for STA mode
Alexander Egorenkov [Mon, 8 Feb 2010 18:41:59 +0000 (8 19:41 +0100)]
Fixed RSSI data passed to net80211; Added BBP tuning for STA mode

14 years agoChanged BA debugging messages
Alexander Egorenkov [Sun, 7 Feb 2010 20:14:22 +0000 (7 21:14 +0100)]
Changed BA debugging messages

14 years agoAMSDU flag fix in rt2870_rx_frame
Alexander Egorenkov [Sat, 6 Feb 2010 21:04:08 +0000 (6 22:04 +0100)]
AMSDU flag fix in rt2870_rx_frame