• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/bcm43xx/

Lines Matching refs:bcm

271 void bcm43xx_generate_txhdr(struct bcm43xx_private *bcm,
278 const struct bcm43xx_phyinfo *phy = bcm43xx_current_phy(bcm);
280 const struct ieee80211_security *secinfo = &bcm->ieee->sec;
296 bitrate = ieee80211softmac_suggest_txrate(bcm->softmac,
317 if (encrypt_frame && !bcm->ieee->host_encrypt) {
323 wsec_rate |= (bcm->key[secinfo->active_key].algorithm << BCM43xx_TXHDR_WSEC_ALGO_SHIFT)
339 if (bcm->short_preamble)
371 static s8 bcm43xx_rssi_postprocess(struct bcm43xx_private *bcm,
375 struct bcm43xx_radioinfo *radio = bcm43xx_current_radio(bcm);
376 struct bcm43xx_phyinfo *phy = bcm43xx_current_phy(bcm);
392 if (bcm->sprom.boardflags & BCM43xx_BFL_RSSI) {
434 int bcm43xx_rx(struct bcm43xx_private *bcm,
438 struct bcm43xx_radioinfo *radio = bcm43xx_current_radio(bcm);
439 struct bcm43xx_phyinfo *phy = bcm43xx_current_phy(bcm);
467 stats.signal = bcm43xx_rssi_postprocess(bcm, rxhdr->rssi, is_ofdm,
470 stats.noise = bcm->stats.noise;
486 bcm->stats.last_rx = jiffies;
487 if (bcm->ieee->iw_mode == IW_MODE_MONITOR) {
488 err = ieee80211_rx(bcm->ieee, skb, &stats);
494 switch (bcm->ieee->iw_mode) {
496 if (memcmp(wlhdr->addr1, bcm->net_dev->dev_addr, ETH_ALEN) == 0 ||
497 memcmp(wlhdr->addr3, bcm->ieee->bssid, ETH_ALEN) == 0 ||
500 bcm->net_dev->flags & IFF_PROMISC)
507 if (memcmp(wlhdr->addr3, bcm->ieee->bssid, ETH_ALEN) == 0 ||
508 memcmp(wlhdr->addr1, bcm->net_dev->dev_addr, ETH_ALEN) == 0 ||
509 (memcmp(wlhdr->addr3, bcm->net_dev->dev_addr, ETH_ALEN) &&
512 bcm->net_dev->flags & IFF_PROMISC)))
520 ieee80211_rx_mgt(bcm->ieee, wlhdr, &stats);
524 err = ieee80211_rx(bcm->ieee, skb, &stats);