| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfgvendor.c | 1266 int target_cnt; in wl_cfgvendor_rtt_set_config() local 1298 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_set_config() 1299 if ((target_cnt <= 0) || (target_cnt > RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_set_config() 1301 target_cnt)); in wl_cfgvendor_rtt_set_config() 1305 rtt_param.rtt_target_cnt = target_cnt; in wl_cfgvendor_rtt_set_config() 1307 rtt_param.target_info = kzalloc(TARGET_INFO_SIZE(target_cnt), GFP_KERNEL); in wl_cfgvendor_rtt_set_config() 1309 WL_ERR(("failed to allocate target info for (%d)\n", target_cnt)); in wl_cfgvendor_rtt_set_config() 1456 int err = 0, rem, type, target_cnt = 0; in wl_cfgvendor_rtt_cancel_config() local 1476 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_cancel_config() 1477 if ((target_cnt > 0) && (target_cnt < RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_cancel_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_rtt.c | 1935 int8 target_cnt = 0, cur_idx = DHD_RTT_INVALID_TARGET_INDEX; in dhd_rtt_get_geofence_cur_target_idx() local 1942 target_cnt = rtt_status->geofence_cfg.geofence_target_cnt; in dhd_rtt_get_geofence_cur_target_idx() 1943 if (target_cnt == 0) { in dhd_rtt_get_geofence_cur_target_idx() 1948 if (cur_idx >= target_cnt) { in dhd_rtt_get_geofence_cur_target_idx() 1951 "target_cnt = %d\n", cur_idx, target_cnt)); in dhd_rtt_get_geofence_cur_target_idx() 1952 ASSERT(cur_idx < target_cnt); in dhd_rtt_get_geofence_cur_target_idx() 1963 int8 target_cnt = 0; in dhd_rtt_set_geofence_cur_target_idx() local 1966 target_cnt = rtt_status->geofence_cfg.geofence_target_cnt; in dhd_rtt_set_geofence_cur_target_idx() 1967 ASSERT(idx < target_cnt); in dhd_rtt_set_geofence_cur_target_idx() 2026 int target_cnt; in dhd_rtt_get_geofence_target() local [all …]
|
| H A D | wl_cfgvendor.c | 1799 int target_cnt = 0; in wl_cfgvendor_rtt_set_config() local 1831 if (target_cnt != 0) { in wl_cfgvendor_rtt_set_config() 1836 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_set_config() 1837 if ((target_cnt <= 0) || (target_cnt > RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_set_config() 1839 target_cnt)); in wl_cfgvendor_rtt_set_config() 1843 rtt_param.rtt_target_cnt = target_cnt; in wl_cfgvendor_rtt_set_config() 1846 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() 1848 WL_ERR(("failed to allocate target info for (%d)\n", target_cnt)); in wl_cfgvendor_rtt_set_config() 1865 TARGET_INFO_SIZE(target_cnt))) { in wl_cfgvendor_rtt_set_config() 1997 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_rtt.c | 1935 int8 target_cnt = 0, cur_idx = DHD_RTT_INVALID_TARGET_INDEX; in dhd_rtt_get_geofence_cur_target_idx() local 1942 target_cnt = rtt_status->geofence_cfg.geofence_target_cnt; in dhd_rtt_get_geofence_cur_target_idx() 1943 if (target_cnt == 0) { in dhd_rtt_get_geofence_cur_target_idx() 1948 if (cur_idx >= target_cnt) { in dhd_rtt_get_geofence_cur_target_idx() 1951 "target_cnt = %d\n", cur_idx, target_cnt)); in dhd_rtt_get_geofence_cur_target_idx() 1952 ASSERT(cur_idx < target_cnt); in dhd_rtt_get_geofence_cur_target_idx() 1963 int8 target_cnt = 0; in dhd_rtt_set_geofence_cur_target_idx() local 1966 target_cnt = rtt_status->geofence_cfg.geofence_target_cnt; in dhd_rtt_set_geofence_cur_target_idx() 1967 ASSERT(idx < target_cnt); in dhd_rtt_set_geofence_cur_target_idx() 2026 int target_cnt; in dhd_rtt_get_geofence_target() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | ssv_cfgvendor.c | 982 int err = 0, rem, type, target_cnt = 0; in wl_cfgvendor_rtt_cancel_config() local 991 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_cancel_config() 992 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1008 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1061 int err = 0, rem, type, target_cnt = 0; in wl_cfgvendor_rtt_cancel_config() local 1070 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_cancel_config() 1071 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1087 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1076 int err = 0, rem, type, target_cnt = 0; in wl_cfgvendor_rtt_cancel_config() local 1085 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_cancel_config() 1086 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1102 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1066 int err = 0, rem, type, target_cnt = 0; in wl_cfgvendor_rtt_cancel_config() local 1075 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_cancel_config() 1076 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config() 1092 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1065 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1074 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1075 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1091 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfgvendor.c | 1721 int target_cnt = 0; in wl_cfgvendor_rtt_set_config() local 1753 if (target_cnt != 0) { in wl_cfgvendor_rtt_set_config() 1758 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_set_config() 1759 if ((target_cnt <= 0) || (target_cnt > RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_set_config() 1761 target_cnt)); in wl_cfgvendor_rtt_set_config() 1765 rtt_param.rtt_target_cnt = target_cnt; in wl_cfgvendor_rtt_set_config() 1768 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() 1770 WL_ERR(("failed to allocate target info for (%d)\n", target_cnt)); in wl_cfgvendor_rtt_set_config() 1787 TARGET_INFO_SIZE(target_cnt))) { in wl_cfgvendor_rtt_set_config() 1919 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfgvendor.c | 1782 int target_cnt = 0; in wl_cfgvendor_rtt_set_config() local 1814 if (target_cnt != 0) { in wl_cfgvendor_rtt_set_config() 1819 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_set_config() 1820 if ((target_cnt <= 0) || (target_cnt > RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_set_config() 1822 target_cnt)); in wl_cfgvendor_rtt_set_config() 1826 rtt_param.rtt_target_cnt = target_cnt; in wl_cfgvendor_rtt_set_config() 1829 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() 1831 WL_ERR(("failed to allocate target info for (%d)\n", target_cnt)); in wl_cfgvendor_rtt_set_config() 1848 TARGET_INFO_SIZE(target_cnt))) { in wl_cfgvendor_rtt_set_config() 1980 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfgvendor.c | 1780 int target_cnt = 0; in wl_cfgvendor_rtt_set_config() local 1812 if (target_cnt != 0) { in wl_cfgvendor_rtt_set_config() 1817 target_cnt = nla_get_u8(iter); in wl_cfgvendor_rtt_set_config() 1818 if ((target_cnt <= 0) || (target_cnt > RTT_MAX_TARGET_CNT)) { in wl_cfgvendor_rtt_set_config() 1820 target_cnt)); in wl_cfgvendor_rtt_set_config() 1824 rtt_param.rtt_target_cnt = target_cnt; in wl_cfgvendor_rtt_set_config() 1827 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() 1829 WL_ERR(("failed to allocate target info for (%d)\n", target_cnt)); in wl_cfgvendor_rtt_set_config() 1846 TARGET_INFO_SIZE(target_cnt))) { in wl_cfgvendor_rtt_set_config() 1978 TARGET_INFO_SIZE(target_cnt)); in wl_cfgvendor_rtt_set_config() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1081 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1090 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1091 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1107 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1099 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1108 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1109 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1125 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1078 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1087 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1088 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1104 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1085 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1094 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1095 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1111 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1081 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1090 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1091 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1107 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1080 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1089 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1090 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1106 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1080 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1089 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1090 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1106 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | rtw_cfgvendor.c | 1088 int err = 0, rem, type, target_cnt = 0; in rtw_cfgvendor_rtt_cancel_config() local 1097 target_cnt = nla_get_u8(iter); in rtw_cfgvendor_rtt_cancel_config() 1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config() 1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
|