brcms_c_mctrl_write(wlc_hw);
brcms_b_wait_for_wake(wlc_hw);
-
- return;
}
void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw,
return;
brcms_c_mctrl_write(wlc_hw);
-
- return;
}
/* When driver needs ucode to stop beaconing, it has to make sure that
return;
brcms_c_mctrl_write(wlc_hw);
-
- return;
}
/* Clear the override on AP and INFRA bits */
brcms_b_xtal(wlc_hw, OFF);
}
}
-
- return;
}
static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail)
brcms_c_pllreq(wlc, false, BRCMS_PLLREQ_FLIP);
}
-static bool brcms_c_radio_monitor_start(struct brcms_c_info *wlc)
+static void brcms_c_radio_monitor_start(struct brcms_c_info *wlc)
{
/* Don't start the timer if HWRADIO feature is disabled */
if (wlc->radio_monitor)
- return true;
+ return;
wlc->radio_monitor = true;
brcms_c_pllreq(wlc, true, BRCMS_PLLREQ_RADIO_MON);
brcms_add_timer(wlc->wl, wlc->radio_timer, TIMER_INTERVAL_RADIOCHK,
true);
- return true;
}
void brcms_c_radio_disable(struct brcms_c_info *wlc)
r = wlc->default_bss->rateset.rates[0];
wlc_phy_ofdm_rateset_war(wlc->band->pi, war);
-
- return;
}
int brcms_c_set_channel(struct brcms_c_info *wlc, u16 channel)
plcp[2] |= (tmp >> 16) & 0xff;
plcp[1] |= (tmp >> 8) & 0xff;
plcp[0] |= tmp & 0xff;
-
- return;
}
/* Rate: 802.11 rate code, length: PSDU length in octets */
brcms_c_compute_ofdm_plcp(rspec, length, plcp);
else
brcms_c_compute_cck_plcp(wlc, rspec, length, plcp);
- return;
}
/* brcms_c_compute_rtscts_dur()
/* read the tsf timer low, then high to get an atomic read */
*tsf_l_ptr = R_REG(®s->tsf_timerlow);
*tsf_h_ptr = R_REG(®s->tsf_timerhigh);
-
- return;
}
/*
memcpy(IEEE80211_SKB_RXCB(p), &rx_status, sizeof(rx_status));
ieee80211_rx_irqsafe(wlc->pub->ieee_hw, p);
- return;
}
/* Process received frames */
memcpy(&h->bssid, &cfg->BSSID, ETH_ALEN);
/* SEQ filled in by MAC */
-
- return;
}
int brcms_c_get_header_len(void)