Eyemaster said:unfortunately, your driver results in kernel trap when I plug in the hercules HWNUm-300 mini (also when I define SIX in if_runvar.h)
I added product ID 0x031 to usbdevs and compiled your driver.
when I load if_run kernel trap occurs
any idea for a fix?
GUILLEMOT HERCULES <0x06f8>
HWNUm-300 PRODUCT 0xe031
http://www.hercules.com/uk/wifi/bdd/p/104/hercules-wireless-n-usb-mini-hwnum-300-/
static const struct usb_config run_config[RUN_N_XFER] = {
[RUN_BULK_TX_BE] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.ep_index = 0,
.direction = UE_DIR_OUT,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
[RUN_BULK_TX_BK] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.ep_index = 1,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
[RUN_BULK_TX_VI] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.ep_index = 2,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
[RUN_BULK_TX_VO] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.ep_index = 3,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
#ifdef SIX
[RUN_BULK_TX_HCCA] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.ep_index = 4,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
[RUN_BULK_TX_PRIO] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_OUT,
.ep_index = 5,
.bufsize = RUN_MAX_TXSZ,
.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
.callback = run_bulk_tx_callback,
.timeout = 5000,
},
#endif /* SIX */
[RUN_BULK_RX] = {
.type = UE_BULK,
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_IN,
.bufsize = RUN_MAX_RXSZ,
.flags = {.pipe_bof = 1,.short_xfer_ok = 1,},
.callback = run_bulk_rx_callback,
}
};
#define RUN_LOCK_ASSERT(sc, t) (void)0
# ifconfig run0 country FR
ifconfig: unable to get regulatory domain info: invalid argument
#kldload if_run
#ifconfig wlan create wlandev run0
#ifconfig wlan0 country FR
#ifconfig wlan0 down
#ifconfig wlan0 destroy
#kldunload if_run
#ifconfig wlan0 list countries
# wpa_supplicani -B -i wlan0 -c 'your_config_file'
I implemented rt2860 driver (only monitor mode) and could
analyze with it packets sent by rt2870 chip. It helped me to find a bug in my driver.
I have 2 NICs, Linksys WUSB600N with rt2870 chip and Linksys WMP600N with rt2860 chip.
gnoma said:egorenar sorry for the question but how did you install WMP600N ???
I am using FreeBSD 7.2 and I still can't install that card. Tryed with this driver but noting happens...
pls it you have a time check this topic http://forums.freebsd.org/showthread.php?t=8391
Thank you
gnoma said:I'll be very grateful if you provide this driver
I am planing to use this card as AP in my office but I'll not use any encription... hope it works
thank you.
$ tar xvjf rt2860_fbsd72.tar.bz2
$ cd rt2860_fbsd72
$ make
# kldload ./rt2860.ko
$ ifconfig
hellevil said:RT2770F support this driver ?
# ifconfig rt28600 up scan
SSID BSSID CHAN RATE S:N INT CAPS
D-link 00:19:5b:54:cc:c2 6 54M -88:-95 119 EP WPA
CHVHOME 00:1a:70:9d:62:0e 9 54M -89:-95 100 EP WPA
belkin54g 00:17:3f:44:32:30 11 54M -89:-95 100 EP WPA
BTC-ADSL 00:1e:73:59:5d:bf 3 54M -88:-95 100 E