Lines Matching refs:peer_notify
460 struct rsi_peer_notify *peer_notify; in rsi_hal_send_sta_notify_frame() local
476 peer_notify = (struct rsi_peer_notify *)skb->data; in rsi_hal_send_sta_notify_frame()
479 peer_notify->command = cpu_to_le16(PEER_TYPE_AP << 1); in rsi_hal_send_sta_notify_frame()
481 peer_notify->command = cpu_to_le16(PEER_TYPE_STA << 1); in rsi_hal_send_sta_notify_frame()
485 peer_notify->command |= cpu_to_le16(RSI_ADD_PEER); in rsi_hal_send_sta_notify_frame()
488 peer_notify->command |= cpu_to_le16(RSI_DELETE_PEER); in rsi_hal_send_sta_notify_frame()
494 peer_notify->command |= cpu_to_le16((aid & 0xfff) << 4); in rsi_hal_send_sta_notify_frame()
495 ether_addr_copy(peer_notify->mac_addr, bssid); in rsi_hal_send_sta_notify_frame()
496 peer_notify->mpdu_density = cpu_to_le16(RSI_MPDU_DENSITY); in rsi_hal_send_sta_notify_frame()
497 peer_notify->sta_flags = cpu_to_le32((qos_enable) ? 1 : 0); in rsi_hal_send_sta_notify_frame()
499 rsi_set_len_qno(&peer_notify->desc.desc_dword0.len_qno, in rsi_hal_send_sta_notify_frame()
502 peer_notify->desc.desc_dword0.frame_type = PEER_NOTIFY; in rsi_hal_send_sta_notify_frame()
503 peer_notify->desc.desc_dword3.qid_tid = sta_id; in rsi_hal_send_sta_notify_frame()
504 peer_notify->desc.desc_dword3.sta_id = vap_id; in rsi_hal_send_sta_notify_frame()