Lines Matching refs:ie
91 struct mrvl_meshie *ie; in lbs_mesh_config() local
95 ie = (struct mrvl_meshie *)cmd.data; in lbs_mesh_config()
99 ie->id = WLAN_EID_VENDOR_SPECIFIC; in lbs_mesh_config()
100 ie->val.oui[0] = 0x00; in lbs_mesh_config()
101 ie->val.oui[1] = 0x50; in lbs_mesh_config()
102 ie->val.oui[2] = 0x43; in lbs_mesh_config()
103 ie->val.type = MARVELL_MESH_IE_TYPE; in lbs_mesh_config()
104 ie->val.subtype = MARVELL_MESH_IE_SUBTYPE; in lbs_mesh_config()
105 ie->val.version = MARVELL_MESH_IE_VERSION; in lbs_mesh_config()
106 ie->val.active_protocol_id = MARVELL_MESH_PROTO_ID_HWMP; in lbs_mesh_config()
107 ie->val.active_metric_id = MARVELL_MESH_METRIC_ID; in lbs_mesh_config()
108 ie->val.mesh_capability = MARVELL_MESH_CAPABILITY; in lbs_mesh_config()
112 ie->val.mesh_id_len = mesh_wdev->u.mesh.id_up_len; in lbs_mesh_config()
113 memcpy(ie->val.mesh_id, mesh_wdev->u.mesh.id, in lbs_mesh_config()
117 ie->len = sizeof(struct mrvl_meshie_val) - in lbs_mesh_config()
118 IEEE80211_MAX_SSID_LEN + ie->val.mesh_id_len; in lbs_mesh_config()
128 action, priv->mesh_tlv, chan, ie->val.mesh_id_len, in lbs_mesh_config()
129 ie->val.mesh_id); in lbs_mesh_config()
568 struct mrvl_meshie *ie; in mesh_id_store() local
577 ie = (struct mrvl_meshie *) &cmd.data[0]; in mesh_id_store()
585 memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); in mesh_id_store()
588 memcpy(ie->val.mesh_id, buf, len); in mesh_id_store()
590 ie->val.mesh_id_len = len; in mesh_id_store()
592 ie->len = sizeof(struct mrvl_meshie_val) - IEEE80211_MAX_SSID_LEN + len; in mesh_id_store()
636 struct mrvl_meshie *ie; in protocol_id_store() local
655 ie = (struct mrvl_meshie *) &cmd.data[0]; in protocol_id_store()
656 memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); in protocol_id_store()
658 ie->val.active_protocol_id = datum; in protocol_id_store()
701 struct mrvl_meshie *ie; in metric_id_store() local
717 ie = (struct mrvl_meshie *) &cmd.data[0]; in metric_id_store()
718 memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); in metric_id_store()
720 ie->val.active_metric_id = datum; in metric_id_store()
763 struct mrvl_meshie *ie; in capability_store() local
779 ie = (struct mrvl_meshie *) &cmd.data[0]; in capability_store()
780 memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); in capability_store()
782 ie->val.mesh_capability = datum; in capability_store()