• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/wlan-ng/

Lines Matching refs:hw

119 	hfa384x_t *hw = wlandev->priv;
128 if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
129 hw->ident_sta_fw.minor,
130 hw->ident_sta_fw.variant) <
142 result = hfa384x_drvr_getconfig16(hw,
154 result = hfa384x_drvr_setconfig16(hw,
166 if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
167 hw->ident_sta_fw.minor,
168 hw->ident_sta_fw.variant) >
176 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPASSIVESCANCTRL,
204 result = hfa384x_drvr_getconfig16(hw, HFA384x_RID_PORTSTATUS, &word);
215 result = hfa384x_drvr_setconfig16(hw,
231 result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFOWNSSID,
240 result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFDESIREDSSID,
250 result = hfa384x_drvr_setconfig16(hw,
260 result = hfa384x_drvr_setconfig16(hw,
269 result = hfa384x_drvr_enable(hw, 0);
285 hw->scanflag = 0;
287 result = hfa384x_drvr_setconfig(hw,
299 wait_event_interruptible_timeout(hw->cmdq, hw->scanflag, timeout);
302 if (hw->scanflag == -1)
303 hw->scanflag = 0;
305 msg->numbss.data = hw->scanflag;
307 hw->scanflag = 0;
311 result = hfa384x_drvr_disable(hw, 0);
322 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFROAMINGMODE,
365 hfa384x_t *hw = wlandev->priv;
374 if (!hw->scanresults) {
382 count = (hw->scanresults->framelen - 3) / 32;
394 item = &(hw->scanresults->info.hscanresult.result[req->bssindex.data]);
515 hfa384x_t *hw = wlandev->priv;
530 if (HFA384x_FIRMWARE_VERSION(hw->ident_sta_fw.major,
531 hw->ident_sta_fw.minor,
532 hw->ident_sta_fw.variant) <
547 result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFOWNSSID,
553 result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFDESIREDSSID,
563 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, 0);
567 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNint, word);
575 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFOWNCHANNEL, word);
603 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFBASICRATES, word);
632 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFSUPPRATES, word);
638 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_TXRATECNTL, word);
648 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFMAXDATALEN, 2304);
652 result = hfa384x_drvr_enable(hw, 0);
691 hfa384x_t *hw = wlandev->priv;
708 result = hfa384x_drvr_readpda(hw,
757 hfa384x_t *hw = wlandev->priv;
777 if (hfa384x_drvr_ramdl_enable(hw, msg->exeaddr.data)) {
784 hfa384x_drvr_ramdl_disable(hw);
813 hfa384x_t *hw = wlandev->priv;
840 if (hfa384x_drvr_ramdl_write(hw, addr, buf, len))
876 hfa384x_t *hw = wlandev->priv;
896 if (hfa384x_drvr_flashdl_enable(hw)) {
903 hfa384x_drvr_flashdl_disable(hw);
946 hfa384x_t *hw = wlandev->priv;
978 if (hfa384x_drvr_flashdl_write(hw, addr, buf, len))
1007 hfa384x_t *hw = wlandev->priv;
1022 hfa384x_drvr_disable(hw, 0);
1026 hfa384x_drvr_setconfig16(hw, HFA384x_RID_TXRATECNTL, 0x000f);
1034 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAUTHENTICATION, reg);
1040 result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFDESIREDSSID,
1045 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, port_type);
1048 hfa384x_drvr_enable(hw, 0);
1081 hfa384x_t *hw = wlandev->priv;
1095 result = hfa384x_cmd_monitor(hw, HFA384x_MONITOR_DISABLE);
1102 result = hfa384x_drvr_disable(hw, 0);
1113 result = hfa384x_drvr_setconfig16(hw,
1115 hw->presniff_wepflags);
1119 hw->presniff_wepflags, result);
1124 if (hw->presniff_port_type != 0) {
1125 word = hw->presniff_port_type;
1126 result = hfa384x_drvr_setconfig16(hw,
1137 result = hfa384x_drvr_enable(hw, 0);
1145 result = hfa384x_drvr_disable(hw, 0);
1156 if (hw->port_enabled[0]) {
1159 result = hfa384x_drvr_getconfig16(hw,
1161 &(hw->presniff_port_type));
1169 result = hfa384x_drvr_getconfig16(hw,
1171 &(hw->presniff_wepflags));
1178 hfa384x_drvr_stop(hw);
1179 result = hfa384x_drvr_start(hw);
1188 result = hfa384x_drvr_disable(hw, 0);
1197 hw->presniff_port_type = 0;
1202 result = hfa384x_drvr_setconfig16(hw,
1205 hw->sniff_channel = word;
1217 result = hfa384x_drvr_setconfig16(hw,
1234 hfa384x_drvr_setconfig16(hw,
1250 hw->sniff_fcs = 0;
1252 hw->sniff_fcs = 1;
1258 hw->sniff_truncate = msg->packet_trunc.data;
1260 hw->sniff_truncate = 0;
1264 result = hfa384x_drvr_enable(hw, 0);
1272 result = hfa384x_cmd_monitor(hw, HFA384x_MONITOR_ENABLE);
1287 hw->sniffhdr = 0;
1293 hw->sniffhdr = 1;