Lines Matching refs:csa_pos
373 u8 *pos, *epos, *csa_pos; in hostapd_gen_probe_resp() local
446 csa_pos = hostapd_eid_csa(hapd, pos); in hostapd_gen_probe_resp()
447 if (csa_pos != pos) in hostapd_gen_probe_resp()
448 hapd->cs_c_off_proberesp = csa_pos - (u8 *) resp - 1; in hostapd_gen_probe_resp()
449 pos = csa_pos; in hostapd_gen_probe_resp()
466 csa_pos = hostapd_eid_ecsa(hapd, pos); in hostapd_gen_probe_resp()
467 if (csa_pos != pos) in hostapd_gen_probe_resp()
468 hapd->cs_c_off_ecsa_proberesp = csa_pos - (u8 *) resp - 1; in hostapd_gen_probe_resp()
469 pos = csa_pos; in hostapd_gen_probe_resp()
1059 u8 *pos, *tailpos, *csa_pos; in ieee802_11_build_ap_params() local
1152 csa_pos = hostapd_eid_csa(hapd, tailpos); in ieee802_11_build_ap_params()
1153 if (csa_pos != tailpos) in ieee802_11_build_ap_params()
1154 hapd->cs_c_off_beacon = csa_pos - tail - 1; in ieee802_11_build_ap_params()
1155 tailpos = csa_pos; in ieee802_11_build_ap_params()
1177 csa_pos = hostapd_eid_ecsa(hapd, tailpos); in ieee802_11_build_ap_params()
1178 if (csa_pos != tailpos) in ieee802_11_build_ap_params()
1179 hapd->cs_c_off_ecsa_beacon = csa_pos - tail - 1; in ieee802_11_build_ap_params()
1180 tailpos = csa_pos; in ieee802_11_build_ap_params()