Lines Matching refs:nei_pos
838 u8 *nei_pos = nei_rep; in hostapd_ctrl_iface_bss_tm_req() local
903 if (nei_pos + 15 > nei_rep + sizeof(nei_rep)) { in hostapd_ctrl_iface_bss_tm_req()
910 nei_start = nei_pos; in hostapd_ctrl_iface_bss_tm_req()
911 *nei_pos++ = WLAN_EID_NEIGHBOR_REPORT; in hostapd_ctrl_iface_bss_tm_req()
912 nei_pos++; /* length to be filled in */ in hostapd_ctrl_iface_bss_tm_req()
914 if (hwaddr_aton(pos, nei_pos)) { in hostapd_ctrl_iface_bss_tm_req()
918 nei_pos += ETH_ALEN; in hostapd_ctrl_iface_bss_tm_req()
927 WPA_PUT_LE32(nei_pos, val); in hostapd_ctrl_iface_bss_tm_req()
928 nei_pos += 4; in hostapd_ctrl_iface_bss_tm_req()
935 *nei_pos++ = atoi(pos); /* Operating Class */ in hostapd_ctrl_iface_bss_tm_req()
943 *nei_pos++ = atoi(pos); /* Channel Number */ in hostapd_ctrl_iface_bss_tm_req()
951 *nei_pos++ = atoi(pos); /* PHY Type */ in hostapd_ctrl_iface_bss_tm_req()
964 if (nei_pos + len / 2 > nei_rep + sizeof(nei_rep)) { in hostapd_ctrl_iface_bss_tm_req()
970 hexstr2bin(pos, nei_pos, len / 2) < 0) { in hostapd_ctrl_iface_bss_tm_req()
975 nei_pos += len / 2; in hostapd_ctrl_iface_bss_tm_req()
979 nei_start[1] = nei_pos - nei_start - 2; in hostapd_ctrl_iface_bss_tm_req()
1063 nei_pos > nei_rep ? nei_rep : NULL, in hostapd_ctrl_iface_bss_tm_req()
1064 nei_pos - nei_rep, mbo_len ? mbo : NULL, in hostapd_ctrl_iface_bss_tm_req()