Home
last modified time | relevance | path

Searched refs:key_idx (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dtesting.c48 u16_t key_idx) in bt_test_mesh_model_bound() argument
54 cb->mesh_model_bound(addr, model, key_idx); in bt_test_mesh_model_bound()
60 u16_t key_idx) in bt_test_mesh_model_unbound() argument
66 cb->mesh_model_unbound(addr, model, key_idx); in bt_test_mesh_model_unbound()
A Dtesting.h16 u16_t key_idx);
18 u16_t key_idx);
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/host/
A Dtesting.h15 u16_t key_idx);
17 u16_t key_idx);
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dtesting.h39 u16_t key_idx);
41 u16_t key_idx);
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dsettings.c55 u16_t key_idx:12, /* AppKey or NetKey Index */ member
1384 clear_app_key(update->key_idx, update->p_key); in store_pending_keys()
1386 clear_net_key(update->key_idx, update->p_key); in store_pending_keys()
1394 key = provisioner_app_key_find(update->key_idx); in store_pending_keys()
1398 key = bt_mesh_app_key_find(update->key_idx); in store_pending_keys()
1416 sub = bt_mesh_subnet_get(update->key_idx); in store_pending_keys()
1695 if (update->key_idx == key_idx) { in key_update_find()
1723 free_slot->key_idx = sub->net_idx; in bt_mesh_store_subnet()
1751 free_slot->key_idx = key->app_idx; in bt_mesh_store_app_key()
1795 free_slot->key_idx = sub->net_idx; in bt_mesh_clear_subnet()
[all …]
A Dcfg_srv.c344 u8_t mod_bind(struct bt_mesh_model *model, u16_t key_idx) in mod_bind() argument
348 BT_DBG("model %p key_idx 0x%03x", model, key_idx); in mod_bind()
350 if (!app_key_is_valid(key_idx)) { in mod_bind()
356 if (model->keys[i] == key_idx) { in mod_bind()
363 model->keys[i] = key_idx; in mod_bind()
380 BT_DBG("model %p key_idx 0x%03x store %u", model, key_idx, store); in mod_unbind()
382 if (!app_key_is_valid(key_idx)) { in mod_unbind()
387 if (model->keys[i] != key_idx) { in mod_unbind()
397 if (model->pub && model->pub->key == key_idx) { in mod_unbind()
3540 u8_t bt_mesh_mod_bind(struct bt_mesh_model *model, u16_t key_idx) in bt_mesh_mod_bind() argument
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/
A Dwifi_util.h43 int wext_set_key_ext(const char *ifname, __u16 alg, const __u8 *addr, int key_idx, int set_tx, cons…
44 int wext_get_enc_ext(const char *ifname, __u16 *alg, __u8 *key_idx, __u8 *passphrase);
A Dwifi_util.c184 int wext_set_key_ext(const char *ifname, __u16 alg, const __u8 *addr, int key_idx, int set_tx, cons… in wext_set_key_ext() argument
197 iwr.u.encoding.flags = key_idx + 1; in wext_set_key_ext()
240 int wext_get_enc_ext(const char *ifname, __u16 *alg, __u8 *key_idx, __u8 *passphrase) in wext_get_enc_ext() argument
261 if(key_idx) in wext_get_enc_ext()
262 *key_idx = (__u8)iwr.u.encoding.flags; in wext_get_enc_ext()
A Dwifi_conf.c490 channel |= (setting.key_idx) << 28; in restore_wifi_info_to_flash()
2559 if(wext_get_enc_ext(ifname, &security, &pSetting->key_idx, pSetting->password) < 0) in wifi_get_setting()
2629 at_printf("WEP,%d,", pSetting->key_idx); in wifi_show_setting()
2632 RTW_API_INFO("\n\r KEY INDEX => %d", pSetting->key_idx); in wifi_show_setting()
2802 RTW_API_INFO("\r\nAP: key_idx =%d\n", setting.key_idx); in wifi_restart_ap()
2808 setting.key_idx, in wifi_restart_ap()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dcfg_srv.h80 u8_t bt_mesh_mod_bind(struct bt_mesh_model *model, u16_t key_idx);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/include/
A Dwifi_structures.h141 unsigned char key_idx; member
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/wpa_supplicant/
A Dwifi_wps_config.c27 u8 key_idx; /**< Key index */ member
344 wifi->key_id = dev_cred->key_idx - 1; in wps_config_wifi_setting()

Completed in 30 milliseconds