Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c brcms_c_channel_set_chanspec() -> brcms_c_set_gmode()

Type Parameter Key Value
PARAM_VALUE 0 wlc 4096-ptr_max
PARAM_VALUE 0 wlc->pub 4096-ptr_max
PARAM_VALUE 0 wlc->pub->ieee_hw 4096-ptr_max
PARAM_VALUE 0 wlc->pub->ieee_hw->conf.chandef.chan 4096-ptr_max
PARAM_VALUE 0 wlc->pub->ieee_hw->conf.chandef.chan->flags 64-u32max
PARAM_VALUE 1 gmode 0
PARAM_VALUE 2 config 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &wl->lock
LOCK2 bh
TYPE_LOCK (struct brcms_info)->lock

drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c brcms_c_channel_set_chanspec() -> brcms_c_set_gmode()

Type Parameter Key Value
PARAM_VALUE 0 wlc 4096-ptr_max
PARAM_VALUE 0 wlc->protection 4096-ptr_max
PARAM_VALUE 0 wlc->pub 4096-ptr_max
PARAM_VALUE 0 wlc->pub->ieee_hw 4096-ptr_max
PARAM_VALUE 0 wlc->pub->ieee_hw->conf.chandef.chan 4096-ptr_max
PARAM_VALUE 2 config 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &wl->lock
LOCK2 bh
TYPE_LOCK (struct brcms_info)->lock

drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c brcms_c_set_country() -> brcms_c_set_gmode()

Type Parameter Key Value
PARAM_VALUE 0 wlc 4096-ptr_max
PARAM_VALUE 0 wlc->ampdu 4096-ptr_max
PARAM_VALUE 0 wlc->asi 4096-ptr_max
PARAM_VALUE 0 wlc->band 4096-ptr_max
PARAM_VALUE 0 wlc->bandstate 4096-ptr_max
PARAM_VALUE 0 wlc->bsscfg 4096-ptr_max
PARAM_VALUE 0 wlc->core 4096-ptr_max
PARAM_VALUE 0 wlc->corestate 4096-ptr_max
PARAM_VALUE 0 wlc->default_bss 4096-ptr_max
PARAM_VALUE 0 wlc->hw 4096-ptr_max
PARAM_VALUE 0 wlc->modulecb 4096-ptr_max
PARAM_VALUE 0 wlc->protection 4096-ptr_max
PARAM_VALUE 0 wlc->pub 4096-ptr_max
PARAM_VALUE 0 wlc->radio_timer 4096-ptr_max
PARAM_VALUE 0 wlc->stf 4096-ptr_max
PARAM_VALUE 0 wlc->tx_duty_cycle_cck 0
PARAM_VALUE 0 wlc->tx_duty_cycle_ofdm 0
PARAM_VALUE 0 wlc->wdtimer 4096-ptr_max
PARAM_VALUE 0 wlc->wl 4096-ptr_max
PARAM_VALUE 2 config 0
BUF_SIZE 0 wlc 912
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_set_nmode() -> brcms_c_set_gmode()

Type Parameter Key Value
PARAM_VALUE 0 wlc 4096-ptr_max
PARAM_VALUE 0 wlc->ampdu 4096-ptr_max
PARAM_VALUE 0 wlc->asi 4096-ptr_max
PARAM_VALUE 0 wlc->band 4096-ptr_max
PARAM_VALUE 0 wlc->bsscfg 4096-ptr_max
PARAM_VALUE 0 wlc->core 4096-ptr_max
PARAM_VALUE 0 wlc->corestate 4096-ptr_max
PARAM_VALUE 0 wlc->default_bss 4096-ptr_max
PARAM_VALUE 0 wlc->hw 4096-ptr_max
PARAM_VALUE 0 wlc->modulecb 4096-ptr_max
PARAM_VALUE 0 wlc->protection 4096-ptr_max
PARAM_VALUE 0 wlc->pub 4096-ptr_max
PARAM_VALUE 0 wlc->radio_timer 4096-ptr_max
PARAM_VALUE 0 wlc->stf 4096-ptr_max
PARAM_VALUE 0 wlc->tx_duty_cycle_cck 0
PARAM_VALUE 0 wlc->tx_duty_cycle_ofdm 0
PARAM_VALUE 0 wlc->wdtimer 4096-ptr_max
PARAM_VALUE 0 wlc->wl 4096-ptr_max
PARAM_VALUE 1 gmode 1
PARAM_VALUE 2 config 1
DATA_SOURCE 0 wlc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL