Lines Matching refs:pPacket
976 static int transmit_802_3_packet(struct airo_info*, int len, char *pPacket);
977 static int transmit_802_11_packet(struct airo_info*, int len, char *pPacket);
996 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
997 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
3346 static int transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket) argument
3365 (ntohs(((u16 *)pPacket)[6]) != 0x888E)) {
3366 if (encapsulate(ai,(etherHead *)pPacket,&pMic,len) != SUCCESS)
3379 bap_write(ai, (const u16*)pPacket, sizeof(etherHead), BAP1);
3382 bap_write(ai, (const u16*)(pPacket + sizeof(etherHead)), len, BAP1);
3392 static int transmit_802_11_packet(struct airo_info *ai, int len, char *pPacket) argument
3407 fc = le16_to_cpu(*(const u16*)pPacket);
3437 bap_write(ai, (const u16*)pPacket, hdrlen, BAP1);
3441 bap_write(ai, (const u16*)(pPacket + hdrlen), len - hdrlen, BAP1);