Lines Matching defs:params
1986 struct bwfm_ext_join_params *params;
2041 params = malloc(sizeof(*params), M_TEMP, M_WAITOK | M_ZERO);
2042 memcpy(params->ssid.ssid, ic->ic_des_essid, ic->ic_des_esslen);
2043 params->ssid.len = htole32(ic->ic_des_esslen);
2044 memcpy(params->assoc.bssid, ic->ic_bss->ni_bssid,
2045 sizeof(params->assoc.bssid));
2046 params->scan.scan_type = -1;
2047 params->scan.nprobes = htole32(-1);
2048 params->scan.active_time = htole32(-1);
2049 params->scan.passive_time = htole32(-1);
2050 params->scan.home_time = htole32(-1);
2051 if (bwfm_fwvar_var_set_data(sc, "join", params, sizeof(*params))) {
2062 free(params, M_TEMP, sizeof(*params));
2139 struct bwfm_escan_params_v0 *params;
2150 params_size = sizeof(*params) + chan_size + ssid_size;
2152 params = malloc(params_size, M_TEMP, M_WAITOK | M_ZERO);
2154 (((uint8_t *)params) + sizeof(*params) + chan_size);
2156 memset(params->scan_params.bssid, 0xff,
2157 sizeof(params->scan_params.bssid));
2158 params->scan_params.bss_type = 2;
2159 params->scan_params.scan_type = BWFM_SCANTYPE_PASSIVE;
2160 params->scan_params.nprobes = htole32(-1);
2161 params->scan_params.active_time = htole32(-1);
2162 params->scan_params.passive_time = htole32(-1);
2163 params->scan_params.home_time = htole32(-1);
2164 params->version = htole32(BWFM_ESCAN_REQ_VERSION);
2165 params->action = htole16(WL_ESCAN_ACTION_START);
2166 params->sync_id = htole16(0x1234);
2170 params->scan_params.scan_type = BWFM_SCANTYPE_ACTIVE;
2175 params->scan_params.channel_num = htole32(
2181 params->scan_params.channel_list[0] = htole16(
2189 bwfm_fwvar_var_set_data(sc, "escan", params, params_size);
2190 free(params, M_TEMP, params_size);
2197 struct bwfm_escan_params_v2 *params;
2208 params_size = sizeof(*params) + chan_size + ssid_size;
2210 params = malloc(params_size, M_TEMP, M_WAITOK | M_ZERO);
2212 (((uint8_t *)params) + sizeof(*params) + chan_size);
2214 params->scan_params.version = 2;
2215 params->scan_params.length = params_size;
2216 memset(params->scan_params.bssid, 0xff,
2217 sizeof(params->scan_params.bssid));
2218 params->scan_params.bss_type = 2;
2219 params->scan_params.scan_type = BWFM_SCANTYPE_PASSIVE;
2220 params->scan_params.nprobes = htole32(-1);
2221 params->scan_params.active_time = htole32(-1);
2222 params->scan_params.passive_time = htole32(-1);
2223 params->scan_params.home_time = htole32(-1);
2224 params->version = htole32(BWFM_ESCAN_REQ_VERSION_V2);
2225 params->action = htole16(WL_ESCAN_ACTION_START);
2226 params->sync_id = htole16(0x1234);
2230 params->scan_params.scan_type = BWFM_SCANTYPE_ACTIVE;
2235 params->scan_params.channel_num = htole32(
2241 params->scan_params.channel_list[0] = htole16(
2249 bwfm_fwvar_var_set_data(sc, "escan", params, params_size);
2250 free(params, M_TEMP, params_size);
2265 struct bwfm_escan_params_v0 *params;
2268 params_size = sizeof(*params) + sizeof(uint16_t);
2269 params = malloc(params_size, M_TEMP, M_WAITOK | M_ZERO);
2270 memset(params->scan_params.bssid, 0xff,
2271 sizeof(params->scan_params.bssid));
2272 params->scan_params.bss_type = 2;
2273 params->scan_params.scan_type = BWFM_SCANTYPE_PASSIVE;
2274 params->scan_params.nprobes = htole32(-1);
2275 params->scan_params.active_time = htole32(-1);
2276 params->scan_params.passive_time = htole32(-1);
2277 params->scan_params.home_time = htole32(-1);
2278 params->version = htole32(BWFM_ESCAN_REQ_VERSION);
2279 params->action = htole16(WL_ESCAN_ACTION_START);
2280 params->sync_id = htole16(0x1234);
2281 params->scan_params.channel_num = htole32(1);
2282 params->scan_params.channel_list[0] = htole16(-1);
2283 bwfm_fwvar_var_set_data(sc, "escan", params, params_size);
2284 free(params, M_TEMP, params_size);
2290 struct bwfm_escan_params_v2 *params;
2293 params_size = sizeof(*params) + sizeof(uint16_t);
2294 params = malloc(params_size, M_TEMP, M_WAITOK | M_ZERO);
2295 params->scan_params.version = 2;
2296 params->scan_params.length = params_size;
2297 memset(params->scan_params.bssid, 0xff,
2298 sizeof(params->scan_params.bssid));
2299 params->scan_params.bss_type = 2;
2300 params->scan_params.scan_type = BWFM_SCANTYPE_PASSIVE;
2301 params->scan_params.nprobes = htole32(-1);
2302 params->scan_params.active_time = htole32(-1);
2303 params->scan_params.passive_time = htole32(-1);
2304 params->scan_params.home_time = htole32(-1);
2305 params->version = htole32(BWFM_ESCAN_REQ_VERSION_V2);
2306 params->action = htole16(WL_ESCAN_ACTION_START);
2307 params->sync_id = htole16(0x1234);
2308 params->scan_params.channel_num = htole32(1);
2309 params->scan_params.channel_list[0] = htole16(-1);
2310 bwfm_fwvar_var_set_data(sc, "escan", params, params_size);
2311 free(params, M_TEMP, params_size);