#
346006 |
|
07-Apr-2019 |
avos |
MFC r345754: run(4): properly set F_DATAPAD radiotap flag if frame has padding between frame header and data.
This will fix 'Mysterious OLPC stuff' for received frames and wrong CCMP / TKIP / data decoding for transmitted frames in net/wireshark dissector.
While here, drop unneeded comment - net80211 handles padding requirements for Tx & Rx without driver adjustment.
Was tested with D-Link DWA-140 rev B3, STA mode.
|
#
346004 |
|
07-Apr-2019 |
avos |
MFC r345753: run(4): do not clear PROTECTED bit if frame was not decrypted by NIC.
Was tested with D-Link DWA-140 rev B3, STA / MONITOR modes.
|
#
345752 |
|
31-Mar-2019 |
avos |
MFC r345493: run(4): merge some common TSF-related code into run_disable_tsf()
No functional change intended.
|
#
345636 |
|
28-Mar-2019 |
avos |
MFC r344990: Fix ieee80211_radiotap(9) usage in wireless drivers:
- Alignment issues: * Add missing __packed attributes + padding across all drivers; in most places there was an assumption that padding will be always minimally suitable; in few places - e.g., in urtw(4) / rtwn(4) - padding was just missing. * Add __aligned(8) attribute for all Rx radiotap headers since they can contain 64-bit TSF timestamp; it cannot appear in Tx radiotap headers, so just drop the attribute here. Refresh ieee80211_radiotap(9) man page accordingly.
- Since net80211 automatically updates channel frequency / flags in ieee80211_radiotap_chan_change() drop duplicate setup for these fields in drivers.
|
#
345635 |
|
28-Mar-2019 |
avos |
MFC r306049: net80211: remove IEEE80211_RADIOTAP_TSFT field from transmit definitions.
This field may be used for received frames only.
|
#
344969 |
|
09-Mar-2019 |
avos |
MFC r343990: net80211: hide casts for 'i_seq' field offset calculation inside ieee80211_getqos() and reuse it in various places.
|
#
343976 |
|
10-Feb-2019 |
avos |
MFC r343474: Remove 2GHz channel list copies from wireless drivers.
Wrap ieee80211_add_channel_list_2ghz into another function which supplies default (1-14) channel list to it and drop its copies from drivers.
|
#
343821 |
|
06-Feb-2019 |
avos |
MFC r343681: run(4): fix allocated memory type for ieee80211_node(4)
PR: 177366
|
#
343760 |
|
05-Feb-2019 |
avos |
MFC r343541: Drop some unneeded includes from wireless USB drivers.
|
#
343513 |
|
28-Jan-2019 |
avos |
MFC r343234: run(4): add more length checks in Rx path.
- Discard frames that are bigger than MCLBYTES (to prevent buffer overrun). - Check buffer length before accessing its contents. - Fix len <-> dmalen check - the last includes Rx Wireless information structure size. - Fix out-of-bounds read during Rx node search for ACK / CTS frames (monitor mode only).
While here: - Mark few suspicious places with comments. - Move common cleanup to the function end.
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
301302 |
|
04-Jun-2016 |
adrian |
[run] fix TSF locking in RX radiotap.
Submitted by: Imre Vadasz <imre@vdsz.com>
|
#
300748 |
|
26-May-2016 |
avos |
run: switch to ieee80211_add_channel_list_*()
- Use device's channel list instead of default one (from ieee80211_init_channels()). - Add ic_getradiocaps() method.
Differential Revision: https://reviews.freebsd.org/D6144
|
#
299176 |
|
06-May-2016 |
pfg |
dev/usb: unsigned some loop indexes.
Although usually small, values produced by nitems() are unsigned. By unsigning the corresponding indexes we avoid signed vs unsigned comparisons. This may have some effect on performance, although given the small sizes the effect will not be perceivable, and it makes the code clearer.
Respect the style of the changed files: one uses u_int while the other uses "unsigned int".
Reviewed by: hselasky
|
#
298932 |
|
02-May-2016 |
pfg |
dev/usb: minor spelling fixes in comments.
No functional change.
Reviewed by: hselasky
|
#
298818 |
|
29-Apr-2016 |
avos |
net80211 + drivers: hide size of 'bands' array behind a macro.
Auto-replace 'howmany(IEEE80211_MODE_MAX, 8)' with 'IEEE80211_MODE_BYTES'. No functional changes.
|
#
296356 |
|
03-Mar-2016 |
avos |
zyd, run, ural: do not corrupt MAC address
Do not use ic_macaddr as a storage for current BSSID; it may be reused in vap creation procedure; similar to r288619.
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5513
|
#
293339 |
|
07-Jan-2016 |
avos |
net80211 drivers: fix ieee80211_init_channels() usage
Fix out-of-bounds read (all) / write (11n capable) for drivers that are using ieee80211_init_channels() to initialize channel list.
Tested with: * RTL8188EU, STA mode. * RTL8188CUS, STA mode. * WUSB54GC, HOSTAP mode.
Approved by: adrian (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D4818
|
#
292165 |
|
13-Dec-2015 |
avos |
net80211: remove hardcoded slot time durations from drivers
- Add IEEE80211_GET_SLOTTIME(ic) macro. - Use predefined macroses to set slot time.
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4044
|
#
292080 |
|
11-Dec-2015 |
imp |
Create a USB_PNP_INFO and use it to export the existing PNP tables. Some drivers needed some slight re-arrangement of declarations to accommodate this. Change the USB pnp tables slightly to allow better compatibility with the system by moving linux driver info from start of each entry to the end. All other PNP tables in the system have the per-device flags and such at the end of the elements rather that at the beginning.
Differential Review: https://reviews.freebsd.org/D3458
|
#
290407 |
|
05-Nov-2015 |
avos |
net80211: WME callback cleanup in various drivers
Since r288350, ic_wme_task() is called via ieee80211_runtask(), so, any additional deferring from the driver side is not needed.
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4072
|
#
289841 |
|
23-Oct-2015 |
avos |
run(4): convert to ieee80211_tx_complete()
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D3992
|
#
289753 |
|
22-Oct-2015 |
avos |
Initialize radiotap header fields before calling ieee80211_radiotap_rx()
Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D3951
|
#
289165 |
|
12-Oct-2015 |
adrian |
net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output().
This doesn't free the mbuf upon error; the driver ic_raw_xmit method is still doing that.
Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3774
|
#
289028 |
|
08-Oct-2015 |
gavin |
Recognise the Netgear WNDA4100 (N900) 3x3 device in run(4).
|
#
288666 |
|
04-Oct-2015 |
kevlo |
Fix max TX power settings for RT5390/RT5392. While here remove wrong definition of RT2860_USB_PHY_MAN_RST.
|
#
288649 |
|
04-Oct-2015 |
adrian |
Fix run(4) mbuf queue flushing / freeing.
Ensure things are freed during interface stop, or start may end up never being able to transmit a full queue.
|
#
288646 |
|
04-Oct-2015 |
adrian |
Fix to compile using gcc-4.2 (eg mips, sparc64.)
|
#
288641 |
|
03-Oct-2015 |
adrian |
run(4): fix WME support (untested).
Now run(4) fetches parameters from ic->ic_wme.wme_params array, which is never initialized (and can be safely removed). This patch replaces &ic->ic_wme.wme_params with &ic->ic_wme.wme_chanParams.cap_wmeParams (contains parameters for local station; used by other drivers with WME support).
Tested:
* me: STA: run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 38:83:45:11:78:ae
|
#
288636 |
|
03-Oct-2015 |
adrian |
net80211: drop ieee80211_beacon_offsets parameter from ieee80211_beacon_alloc() and ieee80211_beacon_update()
Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3659
|
#
288635 |
|
03-Oct-2015 |
adrian |
net80211: drop redundant 3rd parameter from iv_key_set().
The MAC can be fetched from the key struct.
I added the ndis updates to make it compile.
Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3657
|
#
288603 |
|
03-Oct-2015 |
adrian |
run(4): Add initial support for IBSS merge.
Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3592
|
#
288095 |
|
22-Sep-2015 |
adrian |
net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3658
|
#
287853 |
|
16-Sep-2015 |
kevlo |
Fix a debug message which didn't quite get it right about eeprom version.
|
#
287555 |
|
08-Sep-2015 |
kevlo |
Enable TSF timer in monitor mode.
Tested on RT5370, sta mode. Submitted by: Andriy Voskoboinyk <s3erios at gmail com> Differential Revision: https://reviews.freebsd.org/D3591
|
#
287554 |
|
08-Sep-2015 |
kevlo |
Add TSF field into TX/RX radiotap headers
Tested on RT5370, sta mode. Submitted by: Andriy Voskoboinyk <s3erios at gmail com> Differential Revision: https://reviews.freebsd.org/D3590
|
#
287553 |
|
08-Sep-2015 |
kevlo |
Fix comparison in run_key_set_cb().
Tested on RT5370, sta mode.
Submitted by: Andriy Voskoboinyk <s3erios at gmail com> Differential Revision: https://reviews.freebsd.org/D3589
|
#
287552 |
|
08-Sep-2015 |
kevlo |
- Remove empty key_update_* functions. - Hide "struct ieee80211_node *" -> "struct run_node *" casting behind RUN_NODE() macro. - Simplify IEEE80211_HAS_ADDR4 macro definition - Fix a comment (desn't -> doesn't)
Submitted by: Andriy Voskoboinyk <s3erios at gmail com> Differential Revision: https://reviews.freebsd.org/D3588
|
#
287197 |
|
27-Aug-2015 |
glebius |
Replay r286410. Change KPI of how device drivers that provide wireless connectivity interact with the net80211 stack.
Historical background: originally wireless devices created an interface, just like Ethernet devices do. Name of an interface matched the name of the driver that created. Later, wlan(4) layer was introduced, and the wlanX interfaces become the actual interface, leaving original ones as "a parent interface" of wlanX. Kernelwise, the KPI between net80211 layer and a driver became a mix of methods that pass a pointer to struct ifnet as identifier and methods that pass pointer to struct ieee80211com. From user point of view, the parent interface just hangs on in the ifconfig list, and user can't do anything useful with it.
Now, the struct ifnet goes away. The struct ieee80211com is the only KPI between a device driver and net80211. Details:
- The struct ieee80211com is embedded into drivers softc. - Packets are sent via new ic_transmit method, which is very much like the previous if_transmit. - Bringing parent up/down is done via new ic_parent method, which notifies driver about any changes: number of wlan(4) interfaces, number of them in promisc or allmulti state. - Device specific ioctls (if any) are received on new ic_ioctl method. - Packets/errors accounting are done by the stack. In certain cases, when driver experiences errors and can not attribute them to any specific interface, driver updates ic_oerrors or ic_ierrors counters.
Details on interface configuration with new world order: - A sequence of commands needed to bring up wireless DOESN"T change. - /etc/rc.conf parameters DON'T change. - List of devices that can be used to create wlan(4) interfaces is now provided by net.wlan.devices sysctl.
Most drivers in this change were converted by me, except of wpi(4), that was done by Andriy Voskoboinyk. Big thanks to Kevin Lo for testing changes to at least 8 drivers. Thanks to pluknet@, Oliver Hartmann, Olivier Cochard, gjb@, mmoll@, op@ and lev@, who also participated in testing.
Reviewed by: adrian Sponsored by: Netflix Sponsored by: Nginx, Inc.
|
#
286950 |
|
20-Aug-2015 |
adrian |
Further conversions from ifp->if_softc -> ic_softc.
|
#
286437 |
|
07-Aug-2015 |
adrian |
Revert the wifi ifnet changes until things are more baked and tested.
* 286410 * 286413 * 286416
The initial commit broke a variety of debug and features that aren't in the GENERIC kernels but are enabled in other platforms.
|
#
286410 |
|
07-Aug-2015 |
glebius |
Change KPI of how device drivers that provide wireless connectivity interact with the net80211 stack.
Historical background: originally wireless devices created an interface, just like Ethernet devices do. Name of an interface matched the name of the driver that created. Later, wlan(4) layer was introduced, and the wlanX interfaces become the actual interface, leaving original ones as "a parent interface" of wlanX. Kernelwise, the KPI between net80211 layer and a driver became a mix of methods that pass a pointer to struct ifnet as identifier and methods that pass pointer to struct ieee80211com. From user point of view, the parent interface just hangs on in the ifconfig list, and user can't do anything useful with it.
Now, the struct ifnet goes away. The struct ieee80211com is the only KPI between a device driver and net80211. Details:
- The struct ieee80211com is embedded into drivers softc. - Packets are sent via new ic_transmit method, which is very much like the previous if_transmit. - Bringing parent up/down is done via new ic_parent method, which notifies driver about any changes: number of wlan(4) interfaces, number of them in promisc or allmulti state. - Device specific ioctls (if any) are received on new ic_ioctl method. - Packets/errors accounting are done by the stack. In certain cases, when driver experiences errors and can not attribute them to any specific interface, driver updates ic_oerrors or ic_ierrors counters.
Details on interface configuration with new world order: - A sequence of commands needed to bring up wireless DOESN"T change. - /etc/rc.conf parameters DON'T change. - List of devices that can be used to create wlan(4) interfaces is now provided by net.wlan.devices sysctl.
Most drivers in this change were converted by me, except of wpi(4), that was done by Andriy Voskoboinyk. Big thanks to Kevin Lo for testing changes to at least 8 drivers. Thanks to Olivier Cochard, gjb@, mmoll@, op@ and lev@, who also participated in testing. Details here:
https://wiki.freebsd.org/projects/ifnet/net80211
Still, drivers: ndis, wtap, mwl, ipw, bwn, wi, upgt, uath were not tested. Changes to mwl, ipw, bwn, wi, upgt are trivial and chances of problems are low. The wtap wasn't compilable even before this change. But the ndis driver is complex, and it is likely to be broken with this commit. Help with testing and debugging it is appreciated.
Differential Revision: D2655, D2740 Sponsored by: Nginx, Inc. Sponsored by: Netflix
|
#
283540 |
|
25-May-2015 |
glebius |
Change three methods in struct ieee80211com, namely ic_updateslot, ic_update_mcast and ic_update_promisc, to pass pointer to the ieee80211com, not to the ifnet.
Sponsored by: Netflix Sponsored by: Nginx, Inc.
|
#
283537 |
|
25-May-2015 |
glebius |
Set ic_softc in all 802.11 drivers. Not required right now, but will be used quite soon.
Sponsored by: Netflix Sponsored by: Nginx, Inc.
|
#
283527 |
|
25-May-2015 |
glebius |
Make net80211 drivers supply their device name to the net80211 layer, so that the latter doesn't need to go through struct ifnet to get their name.
Sponsored by: Netflix Sponsored by: Nginx, Inc.
|
#
281745 |
|
19-Apr-2015 |
kevlo |
Add new USB ID.
PR: 199522
|
#
276701 |
|
05-Jan-2015 |
hselasky |
Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can be set before the USB device(s) are probed.
|
#
273448 |
|
22-Oct-2014 |
kevlo |
Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon().
PR: 189405 Submitted by: Gabor Simon <gabor.simon75 at gmail.com> MFC after: 3 days
|
#
271866 |
|
19-Sep-2014 |
glebius |
Mechanically convert to if_inc_counter().
|
#
270643 |
|
26-Aug-2014 |
kevlo |
Fix typo: s/mac_rev/mac_ver/
Submitted by: Stefan Sperling <stsp at openbsd dot org>
|
#
270192 |
|
19-Aug-2014 |
kevlo |
If eapol packets are sent at the lowest rate, key negotiation will become more reliable.
Submitted by: Akinori Furukoshi <moonlightakkiy at yahoo dot ca>
|
#
267089 |
|
05-Jun-2014 |
kevlo |
Remove D-Link DWA140 rev D1 by accident.
Pointed out by Anders Larsson in private email.
|
#
263985 |
|
01-Apr-2014 |
hselasky |
Add new USB ID.
Submitted by: Tuomo Latto <djv+fbpr@iki.fi> PR: usb/188046 MFC after: 1 week
|
#
262795 |
|
05-Mar-2014 |
hselasky |
- Temporary fix for race in RUN driver which can cause freed memory to be accessed. - Properly lock callout_reset()'s.
MFC after: 1 week
|
#
262465 |
|
24-Feb-2014 |
kevlo |
Add a flag to run's device list which uses a standard scsi eject. The flag indicates that the mcu doesn't need to load firmware.
Tested by: Alex Deiter <alex dot deiter at gmail.com>, myself Tested on: ASUS USB-N66
|
#
261330 |
|
31-Jan-2014 |
hselasky |
Fix a range check for maximum transmit length. The existing code was off by 4 bytes in one case.
Approved by: kevlo @ MFC after: 2 weeks
|
#
261124 |
|
24-Jan-2014 |
kevlo |
Fix comment.
|
#
261118 |
|
24-Jan-2014 |
kevlo |
Get rid of memmove(). It's not portable.
Tested on RT3071, RT3573, RT3570, RT3572, and RT5572.
Reviewed by: hselasky
|
#
261076 |
|
23-Jan-2014 |
hselasky |
Revert r261014. Let Kevin fix it.
MFC after: 1 week
|
#
261014 |
|
22-Jan-2014 |
hselasky |
- Fix some non-portable code with regard to endianness. Don't use memmove(). - Fix a range check for maximum transmit length. - Fix read from missing field when transmitting data.
MFC after: 2 weeks
|
#
260542 |
|
11-Jan-2014 |
kevlo |
Fix a logic error when checking if Tx power entries are greater than 31.
|
#
260444 |
|
08-Jan-2014 |
kevlo |
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.
The origin of WEP comes from IEEE Std 802.11-1997 where it defines whether the frame body of MAC frame has been encrypted using WEP algorithm or not. IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates whether the frame is protected by a cryptographic encapsulation algorithm.
Reviewed by: adrian, rpaulo
|
#
260219 |
|
03-Jan-2014 |
kevlo |
Add support for the MediaTek/Ralink RT3593 chipset. Committed over the ZyXEL NWD2705 on amd64 with WPA.
|
#
259939 |
|
27-Dec-2013 |
kevlo |
Add D-Link DWA-140 rev D1, another RT5372/run(4). From Anton Mazunin.
|
#
259812 |
|
24-Dec-2013 |
kevlo |
Some devices have a dual mode such as Tenda W326U and ZyXEL NWD2705, add the product id and use a standard scsi eject.
Tested on the ZyXEL NWD2705 wlan dongle.
|
#
259547 |
|
18-Dec-2013 |
kevlo |
Use 'val' instead of 'val & 0xff' since the last argument of run_bbp_write() is uint8_t.
Spotted by: yongari
|
#
259546 |
|
18-Dec-2013 |
kevlo |
Fix style: add tab after #define.
|
#
259545 |
|
18-Dec-2013 |
kevlo |
Fix typo in comment.
|
#
259544 |
|
18-Dec-2013 |
kevlo |
Add support to IQ calibration.
|
#
259046 |
|
06-Dec-2013 |
hselasky |
Fix compilation when the "USB_DEBUG" option is set.
|
#
259032 |
|
06-Dec-2013 |
kevlo |
Add support for the MediaTek/Ralink RT5572 chipset. Committed over the TP-LINK TL-WDN3200 (RT5572) on amd64 with WPA.
While here, add my copyright.
|
#
259031 |
|
06-Dec-2013 |
kevlo |
Replace the magic numbers with something more readable.
|
#
259030 |
|
06-Dec-2013 |
kevlo |
Cosmetic changes.
|
#
259029 |
|
06-Dec-2013 |
kevlo |
Remove daft KASSERT.
|
#
258921 |
|
04-Dec-2013 |
hselasky |
Fix what looks like a typo after r258732.
|
#
258919 |
|
04-Dec-2013 |
hselasky |
Fix external compiler warning(s). Avoid pointer dereferencing.
|
#
258840 |
|
02-Dec-2013 |
kevlo |
The RUN_MAX_TXSZ constat is defined as Tx desc + Tx wireless info + MCLBYTES + max padding. We were lucky in that run(4) working fine since both rt2860_rxwi and rt2860_txwi structure sizes are the same.
|
#
258733 |
|
29-Nov-2013 |
kevlo |
Change run_rt2870_rf_write() prototype (no functional change)
|
#
258732 |
|
29-Nov-2013 |
kevlo |
On the RT2870, rf registers are now 64-bit, not 32-bit after r257955. Committed over a Buffalo WLI-UC-AG300N (RT2870).
|
#
258643 |
|
26-Nov-2013 |
hselasky |
Style changes.
|
#
258641 |
|
26-Nov-2013 |
hselasky |
Add missing static keyword.
MFC after: 2 weeks
|
#
258082 |
|
13-Nov-2013 |
kevlo |
- Use bit twiddling macro to set IEEE80211_MODE_11A - On the RT3572 chipset, there's no need to configure BBP register 86
|
#
257958 |
|
11-Nov-2013 |
kevlo |
Remove r257748 by accident.
|
#
257955 |
|
11-Nov-2013 |
kevlo |
Add support for the MediaTek/Ralink RT5370/RT5372 chipset.
Tested with the TP-Link TL-WN727N (RT5370) and the D-Link DWA-140 (RT5372) on i386/amd64/arm with WPA.
|
#
257748 |
|
06-Nov-2013 |
hselasky |
Implement a working write region function to speed up loading of the firmware. You can test this change by switching the "#if 1" statement right above in the patched code to "#if 0" !
MFC after: 1 week
|
#
257743 |
|
06-Nov-2013 |
hselasky |
Check for "ieee80211_vap_setup()" failure in all USB WLAN drivers.
MFC after: 1 week
|
#
257732 |
|
06-Nov-2013 |
kevlo |
Reading the RT2860_ASIC_VER_ID register is not needed and returns completely bogus value.
|
#
257712 |
|
05-Nov-2013 |
hselasky |
Protect the "ratectl_ch" callout in the "run" driver by the "run" softc's "sc->sc_mtx" mutex. Currently the callout was marked multi-processor safe, which is fine, but it is better to start/stop/reset callouts while holding the "run" drivers own mutex. While at it add a missing "ULL" at end of the 64-bit unsigned integer constant.
MFC after: 1 week
|
#
257435 |
|
31-Oct-2013 |
hselasky |
Fix a potential memory leak.
MFC after: 1 week
|
#
257429 |
|
31-Oct-2013 |
hselasky |
Fix some types. Compilation for external target complains that "u_int" is not idential to "uint32_t" when defining set channel prototype functions. The WLAN channel range should be from 0 to 65535 inclusivly, and u_int should be fine for this purpose.
|
#
257409 |
|
31-Oct-2013 |
kevlo |
Enable DC filter in RT3071 Version E.
|
#
257176 |
|
26-Oct-2013 |
glebius |
The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare to this event, adding if_var.h to files that do need it. Also, include all includes that now are included due to implicit pollution via if_var.h
Sponsored by: Netflix Sponsored by: Nginx, Inc.
|
#
256955 |
|
23-Oct-2013 |
kevlo |
Fix the RT2860_TX_SW_CFG2 init value on older revisions of RT3070 chip.
|
#
256722 |
|
18-Oct-2013 |
kevlo |
Correct tx mixer gain value for RT3070 and RT3071.
Correctly value in EEPROM/EFUSE is one or more for RT3070 and two or more for other RT3071 chips.
|
#
256721 |
|
18-Oct-2013 |
kevlo |
Since the DAC issue has been fixed in RT3070(F), the voltage raising fix is no longer needed.
|
#
256720 |
|
18-Oct-2013 |
kevlo |
Fix lower bits of RF_R3 for RT3370 and newer. This change doesn't affect older chipsets.
|
#
256500 |
|
15-Oct-2013 |
hselasky |
Add new USB ID.
PR: usb/182936 Submitted by: Keith White <kwhite@site.uottawa.ca> MFC after: 1 week
|
#
255238 |
|
05-Sep-2013 |
br |
Add support for DLINK DWA-127 Wireless Adapter
Approved by: cognet (mentor)
|
#
248458 |
|
18-Mar-2013 |
hselasky |
Add new USB ID.
PR: usb/177013 MFC after: 1 week
|
#
246614 |
|
10-Feb-2013 |
hselasky |
- Streamline detach logic in wlan drivers, so that freed memory cannot be used during detach. - Remove all panic() calls from the urtw driver because panic() is not appropriate here. - Remove redundant checks for device detached in device detach callbacks. - Use DEVMETHOD_END to mark end of device methods.
MFC after: 2 weeks
|
#
245047 |
|
04-Jan-2013 |
hselasky |
Fix for "run0: wcid=xx out of range" error message.
MFC after: 1 week PR: usb/174963 Submitted by: PseudoCylon <moonlightakkiy@yahoo.ca>
|
#
243857 |
|
04-Dec-2012 |
glebius |
Mechanically substitute flags from historic mbuf allocator with malloc(9) flags in sys/dev.
|
#
239358 |
|
17-Aug-2012 |
hselasky |
Add new USB device ID.
PR: usb/170688 MFC after: 1 week
|
#
238274 |
|
09-Jul-2012 |
hrs |
- Add support of the following USB devices to run(4):
* Logitec LAN-W150N/U2 * Buffalo WLI-UC-GNM2
- Add device id of Planex GW-USValue-EZ.
|
#
236439 |
|
02-Jun-2012 |
hselasky |
Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode.
MFC after: 1 week Submitted by: PseudoCylon
|
#
233774 |
|
02-Apr-2012 |
hselasky |
Fix compiler warnings, mostly signed issues, when USB modules are compiled with WARNS=9.
MFC after: 1 weeks
|
#
233283 |
|
21-Mar-2012 |
bschmidt |
Load the firmware during init not attach, as a root filesystem might not yet be available. While here, also print the firmware version.
Submitted by: PseudoCylon MFC after: 3 days
|
#
230333 |
|
19-Jan-2012 |
hselasky |
Add support for new USB device.
PR: usb/164275 MFC after: 3 days
|
#
228621 |
|
17-Dec-2011 |
bschmidt |
Fix some net80211 enum nits: - ic_vap_create() uses an ieee80211_opmode argument - ieee80211_rate2media() takes an ieee80211_phymode argument - ieee80211_plcp2rate() takes an ieee80211_phytype argument - cast to enum ieee80211_protmode and ieee80211_roamingmode to silence compiler warnings
Submitted by: arundel@
|
#
228508 |
|
14-Dec-2011 |
hselasky |
Improve fix for random USB transfer time out.
Suggested by: YougHyeon MFC after: 3 days
|
#
228494 |
|
14-Dec-2011 |
hselasky |
Fix for random USB transfer time out.
Submitted by: PseudoCylon MFC after: 3 days
|
#
227781 |
|
21-Nov-2011 |
hselasky |
Add new USB IDs to RUN driver.
PR: usb/162712 MFC after: 1 week
|
#
227309 |
|
07-Nov-2011 |
ed |
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.
The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static.
|
#
226534 |
|
19-Oct-2011 |
hselasky |
Add new USB IDs to RUN driver. Update usb.conf.
PR: usb/161798 MFC after: 3 days
|
#
223486 |
|
24-Jun-2011 |
hselasky |
- Move all USB device ID arrays into so-called sections, sorted according to the mode which they support: host, device or dual mode - Add generic tool to extract these data: tools/bus_autoconf
Discussed with: imp Suggested by: Robert Millan <rmh@debian.org> PR: misc/157903 MFC after: 14 days
|
#
220235 |
|
01-Apr-2011 |
kevlo |
- Minor style(9) cleanup - Make functions static
|
#
219257 |
|
04-Mar-2011 |
daichi |
Add the Buffalo (Melco Inc.) WLI-UC-G301N
PR: usb/155229 Submitted by: Yoshiaki UCHIKAWA MFC after: 1 week
|
#
218676 |
|
14-Feb-2011 |
hselasky |
* Fix page fault caused by referring freed node.
While updating Tx stats, already freed node could be referred and cause page fault. To avoid such panic, spool Tx stats in driver's softc. Then, on every ratectl interval, grab node though ieee80211_iterate_nodes() and update ratectl stats.
* Simplify some code in run_iter_func().
* Fix typo
* Use memset instead of bzero (hselasky @)
PR: kern/153938 Submitted by: PseudoCylon <moonlightakkiy@yahoo.ca> Approved by: thompsa (mentor)
|
#
218492 |
|
09-Feb-2011 |
bschmidt |
Rework beacon handling re-enable run_updateslot().
Drivers which rely on net80211 to create the beacon need to call ieee80211_beacon_update() on iv_update_beacon() calls. This is required that certain bits, e.g. TIM, get updated. A call to ieee80211_beacon_alloc() is not enough because it does not care about flags which can only change during runtime. By design a beacon is supposed to be allocated only once while moving into RUN state.
To handle all possible calls to iv_update_beacon() the run_updateslot() function has been revived and run_updateprot() has been added. run_updateslot() handles slot time changes and run_updateprot() changes to protection, both can change while nodes associate/leave.
Submitted by: Alexander Zagrebin <alex at zagrebin.ru>, PseudoCylon <moonlightakkiy atyahoo.ca> MFC after: 3 weeks
|
#
217511 |
|
17-Jan-2011 |
bschmidt |
Pull ieee80211_ratectl_node_init() calls from drivers into net80211. This fixes hostap mode for at least ral(4) and run(4), because there is no sufficient call into drivers which could be used initialize the node related ratectl variables.
MFC after: 3 days
|
#
214894 |
|
06-Nov-2010 |
bschmidt |
Instead of using the AMRR ratectl algo as default for drivers which have the IEEE80211_C_RATECTL flag set, default to NONE for all drivers. Only if a driver calls ieee80211_ratectl_init() check if the NONE algo is still selected and try to use AMRR in that case. Drivers are still free to use any other algo by calling ieee80211_ratectl_set() prior to the ieee80211_ratectl_init() call.
After this change it is now safe to assume that a ratectl algo is always available and selected, which renders the IEEE80211_C_RATECTL flag pretty much useless. Therefore revert r211314 and 211546.
Reviewed by: rpaulo MFC after: 2 weeks
|
#
212127 |
|
02-Sep-2010 |
thompsa |
We need to grab a node reference count to vap->iv_bss before using it as it is possible for the node to be replaced and freed at any time by ieee80211_sta_join1().
|
#
212122 |
|
01-Sep-2010 |
thompsa |
Add missing MODULE_VERSION() definitions, this resolves problems around duplicate module loads.
PR: usb/125736 Submitted by: danger, mm Reviewed by: hselasky
|
#
211314 |
|
14-Aug-2010 |
bschmidt |
Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework should set this capability.
MFC after: 2 weeks
|
#
209918 |
|
11-Jul-2010 |
thompsa |
Use more compact deviceid table.
Submitted by: Akinori Furukoshi
|
#
209917 |
|
11-Jul-2010 |
thompsa |
Update for style(9).
Submitted by: Akinori Furukoshi (author)
|
#
209189 |
|
14-Jun-2010 |
jkim |
Fix typos that broke duration calculations on protection frames. A similar fix was done for ral(4) long ago and it must be copy-and-paste bugs.
Found by: clang
|
#
209144 |
|
13-Jun-2010 |
thompsa |
- Because hostapd calls iv_key_set() before if_init(), make sure key_set callback function will be executed, and that the key won't be deleted during the init process. - txmic and rxmic are written into the chip the same place regardless of opmode. - Make the hardware generate 802.11 sequence numbers.
Submitted by: Akinori Furukoshi Obtained from: git://gitorious.org/run/run.git
|
#
208019 |
|
12-May-2010 |
thompsa |
Sync run(4) driver from author's site.
Submitted by: Akinori Furukoshi Obtained from: git://gitorious.org/run/run.git
|
#
207554 |
|
03-May-2010 |
sobomax |
Add new tunable 'net.link.ifqmaxlen' to set default send interface queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value.
MFC after: 1 month
|
#
207077 |
|
22-Apr-2010 |
thompsa |
Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had the illusion of a tunable setting but was always turned on regardless.
MFC after: 1 week
|
#
206417 |
|
09-Apr-2010 |
rpaulo |
Remove previously added if 0's.
MFC after: 1 month
|
#
206358 |
|
07-Apr-2010 |
rpaulo |
net80211 rate control framework (net80211 ratectl).
This framework allows drivers to abstract the rate control algorithm and just feed the framework with the usable parameters. The rate control framework will now deal with passing the parameters to the selected algorithm. Right now we have AMRR (the default) and RSSADAPT but there's no way to select one with ifconfig, yet. The objective is to have more rate control algorithms in the net80211 stack so all drivers[0] can use it. Ideally, we'll have the well-known sample rate control algorithm in the net80211 at some point so all drivers can use it (not just ath).
[0] all drivers that do rate control in software, that is.
Reviewed by: bschmidt, thompsa, weyongo MFC after: 1 months
|
#
205042 |
|
11-Mar-2010 |
thompsa |
- Integrate latest driver code from OpenBSD - Drain our tasks from the ieee80211 taskqueue - Add more IDs
Submitted by: Akinori Furukoshi
|
#
203138 |
|
28-Jan-2010 |
thompsa |
Use device_printf rather than printf + device_get_nameunit.
|
#
203137 |
|
28-Jan-2010 |
thompsa |
Release the firmware after loading to the device.
|
#
203134 |
|
28-Jan-2010 |
thompsa |
Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.
This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furukoshi.
|