Lines Matching refs:request
104 int createRequest(WifiRequest &request) { in createRequest() argument
110 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest()
116 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
118 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
124 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest()
130 result = request.put(MKEEP_ALIVE_ATTRIBUTE_IP_PKT, (u8*)mIpPkt, mIpPktLen); in createRequest()
136 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_SRC_MAC_ADDR, mSrcMacAddr); in createRequest()
142 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_DST_MAC_ADDR, mDstMacAddr); in createRequest()
148 result = request.put_u32(MKEEP_ALIVE_ATTRIBUTE_PERIOD_MSEC, mPeriodMsec); in createRequest()
153 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_ETHER_TYPE, mEther_type); in createRequest()
159 request.attr_end(data); in createRequest()
165 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_STOP_MKEEP_ALIVE); in createRequest()
171 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
173 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
179 request.attr_end(data); in createRequest()
192 WifiRequest request(familyId(), ifaceId()); in start() local
193 int result = createRequest(request); in start()
199 result = requestResponse(request); in start()