Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 14 of 14) sorted by relevance

/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/include/
Dblufi_int.h58 uint8_t fc; member
67 uint8_t fc; member
178 #define BLUFI_FC_IS_ENC(fc) ((fc) & BLUFI_FC_ENC_MASK) argument
179 #define BLUFI_FC_IS_CHECK(fc) ((fc) & BLUFI_FC_CHECK_MASK) argument
180 #define BLUFI_FC_IS_DIR_P2E(fc) ((fc) & BLUFI_FC_DIR_P2E_MASK) argument
181 #define BLUFI_FC_IS_DIR_E2P(fc) (!((fc) & BLUFI_DIR_P2E_MASK)) argument
182 #define BLUFI_FC_IS_REQ_ACK(fc) ((fc) & BLUFI_FC_REQ_ACK_MASK) argument
183 #define BLUFI_FC_IS_FRAG(fc) ((fc) & BLUFI_FC_FRAG_MASK) argument
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dccmp.c22 u16 fc, stype, seq; in ccmp_aad_nonce() local
28 fc = le_to_host16(hdr->frame_control); in ccmp_aad_nonce()
29 stype = WLAN_FC_GET_STYPE(fc); in ccmp_aad_nonce()
30 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in ccmp_aad_nonce()
34 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) { in ccmp_aad_nonce()
35 fc &= ~0x0070; /* Mask subtype bits */ in ccmp_aad_nonce()
39 fc &= ~WLAN_FC_ORDER; in ccmp_aad_nonce()
45 } else if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT) in ccmp_aad_nonce()
48 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in ccmp_aad_nonce()
49 fc |= WLAN_FC_ISWEP; in ccmp_aad_nonce()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c863 tBTA_JV_API_FREE_CHANNEL *fc = &(p_data->free_channel); in bta_jv_free_scn() local
864 UINT16 scn = fc->scn; in bta_jv_free_scn()
885 if (fc->user_data) { in bta_jv_free_scn()
886 user_data = (tBTA_JV_FREE_SCN_USER_DATA *)fc->user_data; in bta_jv_free_scn()
893 if (fc->p_cback) { in bta_jv_free_scn()
894 fc->p_cback(BTA_JV_FREE_SCN_EVT, (tBTA_JV *)&evt_data, (void *)user_data); in bta_jv_free_scn()
902 if (fc->p_cback) { in bta_jv_free_scn()
903 fc->p_cback(BTA_JV_FREE_SCN_EVT, (tBTA_JV *)&evt_data, (void *)user_data); in bta_jv_free_scn()
2413 tBTA_JV_API_RFCOMM_FLOW_CONTROL *fc = &(p_data->rfcomm_fc); in bta_jv_rfcomm_flow_control() local
2415 tBTA_JV_PCB *p_pcb = fc->p_pcb; in bta_jv_rfcomm_flow_control()
[all …]
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c111 if (BLUFI_FC_IS_ENC(hdr->fc) in btc_blufi_recv_handler()
122 if (BLUFI_FC_IS_CHECK(hdr->fc) in btc_blufi_recv_handler()
133 if (BLUFI_FC_IS_REQ_ACK(hdr->fc)) { in btc_blufi_recv_handler()
137 if (BLUFI_FC_IS_FRAG(hdr->fc)) { in btc_blufi_recv_handler()
211 hdr->fc = 0x0; in btc_blufi_send_encap()
216 hdr->fc |= BLUFI_FC_FRAG; in btc_blufi_send_encap()
223 hdr->fc = 0x0; in btc_blufi_send_encap()
229 hdr->fc |= BLUFI_FC_DIR_E2P; in btc_blufi_send_encap()
235 hdr->fc |= BLUFI_FC_CHECK; in btc_blufi_send_encap()
242 hdr->fc |= BLUFI_FC_CHECK; in btc_blufi_send_encap()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Dport_utils.c414 BOOLEAN fc = p_port->tx.peer_fc in port_flow_control_user() local
420 if (p_port->tx.user_fc == fc) { in port_flow_control_user()
424 p_port->tx.user_fc = fc; in port_flow_control_user()
426 if (fc) { in port_flow_control_user()
Dport_api.c204 p_port->local_ctrl.fc = FALSE; in RFCOMM_CreateConnection()
803 old_fc = p_port->local_ctrl.fc; in PORT_FlowControl()
806 p_port->local_ctrl.fc = (p_port->rx.user_fc | p_port->rx.peer_fc); in PORT_FlowControl()
808 if (p_port->local_ctrl.fc != old_fc) { in PORT_FlowControl()
874 old_fc = p_port->local_ctrl.fc;
877 p_port->local_ctrl.fc = (p_port->rx.user_fc | p_port->rx.peer_fc);
879 if (p_port->local_ctrl.fc != old_fc) {
944 old_fc = p_port->local_ctrl.fc; in PORT_FlowControl_GiveCredit()
947 p_port->local_ctrl.fc = (p_port->rx.user_fc | p_port->rx.peer_fc); in PORT_FlowControl_GiveCredit()
949 if (p_port->local_ctrl.fc != old_fc) { in PORT_FlowControl_GiveCredit()
Drfc_port_fsm.c702 pars.fc = ((modem_signals & RFCOMM_MSC_FC) == RFCOMM_MSC_FC); in rfc_process_msc()
715 p_port->peer_ctrl.fc = new_peer_fc = pars.fc; in rfc_process_msc()
Drfc_port_if.c314 p_port->local_ctrl.fc = !enable; in RFCOMM_FlowReq()
Drfc_ts_frames.c370 ((p_pars->fc) ? RFCOMM_MSC_FC : 0) | in rfc_send_msc()
526 p_pars->fc = TRUE; in rfc_bqb_send_msc_cmd()
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dieee802_11_defs.h27 #define WLAN_FC_GET_TYPE(fc) (((fc) & 0x000c) >> 2) argument
28 #define WLAN_FC_GET_STYPE(fc) (((fc) & 0x00f0) >> 4) argument
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h83 BOOLEAN fc; /* TRUE when the device is unable to accept frames */ member
Drfc_int.h364 extern void PORT_FlowInd (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN fc);
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/bluedroid_host/
Desp_blufi.c403 ((hdr->fc & BLUFI_FC_CHECK) ? in esp_blufi_send_encap()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c524 ((hdr->fc & BLUFI_FC_CHECK) ? in esp_blufi_send_encap()