12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263 |
- /*
- * Copyright (c) 2021 The Linux Foundation. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
- // $ATH_LICENSE_HW_HDR_C$
- //
- // DO NOT EDIT! This file is automatically generated
- // These definitions are tied to a particular hardware layout
- #ifndef _RX_MPDU_INFO_H_
- #define _RX_MPDU_INFO_H_
- #if !defined(__ASSEMBLER__)
- #endif
- #include "rxpt_classify_info.h"
- // ################ START SUMMARY #################
- //
- // Dword Fields
- // 0 rxpcu_mpdu_filter_in_category[1:0], sw_frame_group_id[8:2], ndp_frame[9], phy_err[10], phy_err_during_mpdu_header[11], protocol_version_err[12], ast_based_lookup_valid[13], reserved_0a[15:14], phy_ppdu_id[31:16]
- // 1 ast_index[15:0], sw_peer_id[31:16]
- // 2 mpdu_frame_control_valid[0], mpdu_duration_valid[1], mac_addr_ad1_valid[2], mac_addr_ad2_valid[3], mac_addr_ad3_valid[4], mac_addr_ad4_valid[5], mpdu_sequence_control_valid[6], mpdu_qos_control_valid[7], mpdu_ht_control_valid[8], frame_encryption_info_valid[9], mpdu_fragment_number[13:10], more_fragment_flag[14], reserved_2a[15], fr_ds[16], to_ds[17], encrypted[18], mpdu_retry[19], mpdu_sequence_number[31:20]
- // 3 epd_en[0], all_frames_shall_be_encrypted[1], encrypt_type[5:2], wep_key_width_for_variable_key[7:6], mesh_sta[8], bssid_hit[9], bssid_number[13:10], tid[17:14], reserved_3a[31:18]
- // 4 pn_31_0[31:0]
- // 5 pn_63_32[31:0]
- // 6 pn_95_64[31:0]
- // 7 pn_127_96[31:0]
- // 8 peer_meta_data[31:0]
- // 9 struct rxpt_classify_info rxpt_classify_info_details;
- // 10 rx_reo_queue_desc_addr_31_0[31:0]
- // 11 rx_reo_queue_desc_addr_39_32[7:0], receive_queue_number[23:8], pre_delim_err_warning[24], first_delim_err[25], reserved_11[31:26]
- // 12 key_id_octet[7:0], new_peer_entry[8], decrypt_needed[9], decap_type[11:10], rx_insert_vlan_c_tag_padding[12], rx_insert_vlan_s_tag_padding[13], strip_vlan_c_tag_decap[14], strip_vlan_s_tag_decap[15], pre_delim_count[27:16], ampdu_flag[28], bar_frame[29], reserved_12[31:30]
- // 13 mpdu_length[13:0], first_mpdu[14], mcast_bcast[15], ast_index_not_found[16], ast_index_timeout[17], power_mgmt[18], non_qos[19], null_data[20], mgmt_type[21], ctrl_type[22], more_data[23], eosp[24], fragment_flag[25], order[26], u_apsd_trigger[27], encrypt_required[28], directed[29], reserved_13[31:30]
- // 14 mpdu_frame_control_field[15:0], mpdu_duration_field[31:16]
- // 15 mac_addr_ad1_31_0[31:0]
- // 16 mac_addr_ad1_47_32[15:0], mac_addr_ad2_15_0[31:16]
- // 17 mac_addr_ad2_47_16[31:0]
- // 18 mac_addr_ad3_31_0[31:0]
- // 19 mac_addr_ad3_47_32[15:0], mpdu_sequence_control_field[31:16]
- // 20 mac_addr_ad4_31_0[31:0]
- // 21 mac_addr_ad4_47_32[15:0], mpdu_qos_control_field[31:16]
- // 22 mpdu_ht_control_field[31:0]
- //
- // ################ END SUMMARY #################
- #define NUM_OF_DWORDS_RX_MPDU_INFO 23
- struct rx_mpdu_info {
- uint32_t rxpcu_mpdu_filter_in_category : 2, //[1:0]
- sw_frame_group_id : 7, //[8:2]
- ndp_frame : 1, //[9]
- phy_err : 1, //[10]
- phy_err_during_mpdu_header : 1, //[11]
- protocol_version_err : 1, //[12]
- ast_based_lookup_valid : 1, //[13]
- reserved_0a : 2, //[15:14]
- phy_ppdu_id : 16; //[31:16]
- uint32_t ast_index : 16, //[15:0]
- sw_peer_id : 16; //[31:16]
- uint32_t mpdu_frame_control_valid : 1, //[0]
- mpdu_duration_valid : 1, //[1]
- mac_addr_ad1_valid : 1, //[2]
- mac_addr_ad2_valid : 1, //[3]
- mac_addr_ad3_valid : 1, //[4]
- mac_addr_ad4_valid : 1, //[5]
- mpdu_sequence_control_valid : 1, //[6]
- mpdu_qos_control_valid : 1, //[7]
- mpdu_ht_control_valid : 1, //[8]
- frame_encryption_info_valid : 1, //[9]
- mpdu_fragment_number : 4, //[13:10]
- more_fragment_flag : 1, //[14]
- reserved_2a : 1, //[15]
- fr_ds : 1, //[16]
- to_ds : 1, //[17]
- encrypted : 1, //[18]
- mpdu_retry : 1, //[19]
- mpdu_sequence_number : 12; //[31:20]
- uint32_t epd_en : 1, //[0]
- all_frames_shall_be_encrypted : 1, //[1]
- encrypt_type : 4, //[5:2]
- wep_key_width_for_variable_key : 2, //[7:6]
- mesh_sta : 1, //[8]
- bssid_hit : 1, //[9]
- bssid_number : 4, //[13:10]
- tid : 4, //[17:14]
- reserved_3a : 14; //[31:18]
- uint32_t pn_31_0 : 32; //[31:0]
- uint32_t pn_63_32 : 32; //[31:0]
- uint32_t pn_95_64 : 32; //[31:0]
- uint32_t pn_127_96 : 32; //[31:0]
- uint32_t peer_meta_data : 32; //[31:0]
- struct rxpt_classify_info rxpt_classify_info_details;
- uint32_t rx_reo_queue_desc_addr_31_0 : 32; //[31:0]
- uint32_t rx_reo_queue_desc_addr_39_32 : 8, //[7:0]
- receive_queue_number : 16, //[23:8]
- pre_delim_err_warning : 1, //[24]
- first_delim_err : 1, //[25]
- reserved_11 : 6; //[31:26]
- uint32_t key_id_octet : 8, //[7:0]
- new_peer_entry : 1, //[8]
- decrypt_needed : 1, //[9]
- decap_type : 2, //[11:10]
- rx_insert_vlan_c_tag_padding : 1, //[12]
- rx_insert_vlan_s_tag_padding : 1, //[13]
- strip_vlan_c_tag_decap : 1, //[14]
- strip_vlan_s_tag_decap : 1, //[15]
- pre_delim_count : 12, //[27:16]
- ampdu_flag : 1, //[28]
- bar_frame : 1, //[29]
- reserved_12 : 2; //[31:30]
- uint32_t mpdu_length : 14, //[13:0]
- first_mpdu : 1, //[14]
- mcast_bcast : 1, //[15]
- ast_index_not_found : 1, //[16]
- ast_index_timeout : 1, //[17]
- power_mgmt : 1, //[18]
- non_qos : 1, //[19]
- null_data : 1, //[20]
- mgmt_type : 1, //[21]
- ctrl_type : 1, //[22]
- more_data : 1, //[23]
- eosp : 1, //[24]
- fragment_flag : 1, //[25]
- order : 1, //[26]
- u_apsd_trigger : 1, //[27]
- encrypt_required : 1, //[28]
- directed : 1, //[29]
- reserved_13 : 2; //[31:30]
- uint32_t mpdu_frame_control_field : 16, //[15:0]
- mpdu_duration_field : 16; //[31:16]
- uint32_t mac_addr_ad1_31_0 : 32; //[31:0]
- uint32_t mac_addr_ad1_47_32 : 16, //[15:0]
- mac_addr_ad2_15_0 : 16; //[31:16]
- uint32_t mac_addr_ad2_47_16 : 32; //[31:0]
- uint32_t mac_addr_ad3_31_0 : 32; //[31:0]
- uint32_t mac_addr_ad3_47_32 : 16, //[15:0]
- mpdu_sequence_control_field : 16; //[31:16]
- uint32_t mac_addr_ad4_31_0 : 32; //[31:0]
- uint32_t mac_addr_ad4_47_32 : 16, //[15:0]
- mpdu_qos_control_field : 16; //[31:16]
- uint32_t mpdu_ht_control_field : 32; //[31:0]
- };
- /*
- rxpcu_mpdu_filter_in_category
-
- Field indicates what the reason was that this MPDU frame
- was allowed to come into the receive path by RXPCU
-
- <enum 0 rxpcu_filter_pass> This MPDU passed the normal
- frame filter programming of rxpcu
-
- <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
- regular frame filter and would have been dropped, were it
- not for the frame fitting into the 'monitor_client'
- category.
-
- <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
- regular frame filter and also did not pass the
- rxpcu_monitor_client filter. It would have been dropped
- accept that it did pass the 'monitor_other' category.
-
-
-
- Note: for ndp frame, if it was expected because the
- preceding NDPA was filter_pass, the setting
- rxpcu_filter_pass will be used. This setting will also be
- used for every ndp frame in case Promiscuous mode is
- enabled.
-
-
-
- In case promiscuous is not enabled, and an NDP is not
- preceded by a NPDA filter pass frame, the only other setting
- that could appear here for the NDP is rxpcu_monitor_other.
-
- (rxpcu has a configuration bit specifically for this
- scenario)
-
-
-
- Note: for
-
- <legal 0-2>
- sw_frame_group_id
-
- SW processes frames based on certain classifications.
- This field indicates to what sw classification this MPDU is
- mapped.
-
- The classification is given in priority order
-
-
-
- <enum 0 sw_frame_group_NDP_frame> Note: The
- corresponding Rxpcu_Mpdu_filter_in_category can be
- rxpcu_filter_pass or rxpcu_monitor_other
-
-
-
- <enum 1 sw_frame_group_Multicast_data>
-
- <enum 2 sw_frame_group_Unicast_data>
-
- <enum 3 sw_frame_group_Null_data > This includes mpdus
- of type Data Null as well as QoS Data Null
-
-
-
- <enum 4 sw_frame_group_mgmt_0000 >
-
- <enum 5 sw_frame_group_mgmt_0001 >
-
- <enum 6 sw_frame_group_mgmt_0010 >
-
- <enum 7 sw_frame_group_mgmt_0011 >
-
- <enum 8 sw_frame_group_mgmt_0100 >
-
- <enum 9 sw_frame_group_mgmt_0101 >
-
- <enum 10 sw_frame_group_mgmt_0110 >
-
- <enum 11 sw_frame_group_mgmt_0111 >
-
- <enum 12 sw_frame_group_mgmt_1000 >
-
- <enum 13 sw_frame_group_mgmt_1001 >
-
- <enum 14 sw_frame_group_mgmt_1010 >
-
- <enum 15 sw_frame_group_mgmt_1011 >
-
- <enum 16 sw_frame_group_mgmt_1100 >
-
- <enum 17 sw_frame_group_mgmt_1101 >
-
- <enum 18 sw_frame_group_mgmt_1110 >
-
- <enum 19 sw_frame_group_mgmt_1111 >
-
-
-
- <enum 20 sw_frame_group_ctrl_0000 >
-
- <enum 21 sw_frame_group_ctrl_0001 >
-
- <enum 22 sw_frame_group_ctrl_0010 >
-
- <enum 23 sw_frame_group_ctrl_0011 >
-
- <enum 24 sw_frame_group_ctrl_0100 >
-
- <enum 25 sw_frame_group_ctrl_0101 >
-
- <enum 26 sw_frame_group_ctrl_0110 >
-
- <enum 27 sw_frame_group_ctrl_0111 >
-
- <enum 28 sw_frame_group_ctrl_1000 >
-
- <enum 29 sw_frame_group_ctrl_1001 >
-
- <enum 30 sw_frame_group_ctrl_1010 >
-
- <enum 31 sw_frame_group_ctrl_1011 >
-
- <enum 32 sw_frame_group_ctrl_1100 >
-
- <enum 33 sw_frame_group_ctrl_1101 >
-
- <enum 34 sw_frame_group_ctrl_1110 >
-
- <enum 35 sw_frame_group_ctrl_1111 >
-
-
-
- <enum 36 sw_frame_group_unsupported> This covers type 3
- and protocol version != 0
-
- Note: The corresponding Rxpcu_Mpdu_filter_in_category
- can only be rxpcu_monitor_other
-
-
-
-
- Note: The corresponding Rxpcu_Mpdu_filter_in_category
- can be rxpcu_filter_pass
-
-
-
- <legal 0-37>
- ndp_frame
-
- When set, the received frame was an NDP frame, and thus
- there will be no MPDU data.
-
- <legal all>
- phy_err
-
- When set, a PHY error was received before MAC received
- any data, and thus there will be no MPDU data.
-
- <legal all>
- phy_err_during_mpdu_header
-
- When set, a PHY error was received before MAC received
- the complete MPDU header which was needed for proper
- decoding
-
- <legal all>
- protocol_version_err
-
- Set when RXPCU detected a version error in the Frame
- control field
-
- <legal all>
- ast_based_lookup_valid
-
- When set, AST based lookup for this frame has found a
- valid result.
-
-
-
- Note that for NDP frame this will never be set
-
- <legal all>
- reserved_0a
-
- <legal 0>
- phy_ppdu_id
-
- A ppdu counter value that PHY increments for every PPDU
- received. The counter value wraps around
-
- <legal all>
- ast_index
-
- This field indicates the index of the AST entry
- corresponding to this MPDU. It is provided by the GSE module
- instantiated in RXPCU.
-
- A value of 0xFFFF indicates an invalid AST index,
- meaning that No AST entry was found or NO AST search was
- performed
-
-
-
- In case of ndp or phy_err, this field will be set to
- 0xFFFF
-
- <legal all>
- sw_peer_id
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- This field indicates a unique peer identifier. It is set
- equal to field 'sw_peer_id' from the AST entry
-
-
-
- <legal all>
- mpdu_frame_control_valid
-
- When set, the field Mpdu_Frame_control_field has valid
- information
-
-
-
-
- <legal all>
- mpdu_duration_valid
-
- When set, the field Mpdu_duration_field has valid
- information
-
-
-
-
- <legal all>
- mac_addr_ad1_valid
-
- When set, the fields mac_addr_ad1_..... have valid
- information
-
-
-
-
- <legal all>
- mac_addr_ad2_valid
-
- When set, the fields mac_addr_ad2_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- mac_addr_ad3_valid
-
- When set, the fields mac_addr_ad3_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- mac_addr_ad4_valid
-
- When set, the fields mac_addr_ad4_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- mpdu_sequence_control_valid
-
- When set, the fields mpdu_sequence_control_field and
- mpdu_sequence_number have valid information as well as field
-
-
-
- For MPDUs without a sequence control field, this field
- will not be set.
-
-
-
-
- <legal all>
- mpdu_qos_control_valid
-
- When set, the field mpdu_qos_control_field has valid
- information
-
-
-
- For MPDUs without a QoS control field, this field will
- not be set.
-
-
-
-
- <legal all>
- mpdu_ht_control_valid
-
- When set, the field mpdu_HT_control_field has valid
- information
-
-
-
- For MPDUs without a HT control field, this field will
- not be set.
-
-
-
-
- <legal all>
- frame_encryption_info_valid
-
- When set, the encryption related info fields, like IV
- and PN are valid
-
-
-
- For MPDUs that are not encrypted, this will not be set.
-
-
-
-
- <legal all>
- mpdu_fragment_number
-
- Field only valid when Mpdu_sequence_control_valid is set
- AND Fragment_flag is set
-
-
-
- The fragment number from the 802.11 header.
-
- <legal all>
- more_fragment_flag
-
- The More Fragment bit setting from the MPDU header of
- the received frame
-
-
-
- <legal all>
- reserved_2a
-
- <legal 0>
- fr_ds
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- Set if the from DS bit is set in the frame control.
-
- <legal all>
- to_ds
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- Set if the to DS bit is set in the frame control.
-
- <legal all>
- encrypted
-
- Field only valid when Mpdu_frame_control_valid is set.
-
-
-
- Protected bit from the frame control.
-
- <legal all>
- mpdu_retry
-
- Field only valid when Mpdu_frame_control_valid is set.
-
-
-
- Retry bit from the frame control. Only valid when
- first_msdu is set.
-
- <legal all>
- mpdu_sequence_number
-
- Field only valid when Mpdu_sequence_control_valid is
- set.
-
-
-
- The sequence number from the 802.11 header.
-
- <legal all>
- epd_en
-
- Field only valid when AST_based_lookup_valid == 1.
-
-
-
-
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- If set to one use EPD instead of LPD
-
-
-
-
- <legal all>
- all_frames_shall_be_encrypted
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, all frames (data only ?) shall be encrypted.
- If not, RX CRYPTO shall set an error flag.
-
- <legal all>
- encrypt_type
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Indicates type of decrypt cipher used (as defined in the
- peer entry)
-
-
-
- <enum 0 wep_40> WEP 40-bit
-
- <enum 1 wep_104> WEP 104-bit
-
- <enum 2 tkip_no_mic> TKIP without MIC
-
- <enum 3 wep_128> WEP 128-bit
-
- <enum 4 tkip_with_mic> TKIP with MIC
-
- <enum 5 wapi> WAPI
-
- <enum 6 aes_ccmp_128> AES CCMP 128
-
- <enum 7 no_cipher> No crypto
-
- <enum 8 aes_ccmp_256> AES CCMP 256
-
- <enum 9 aes_gcmp_128> AES CCMP 128
-
- <enum 10 aes_gcmp_256> AES CCMP 256
-
- <enum 11 wapi_gcm_sm4> WAPI GCM SM4
-
-
-
- <enum 12 wep_varied_width> WEP encryption. As for WEP
- per keyid the key bit width can vary, the key bit width for
- this MPDU will be indicated in field
- wep_key_width_for_variable key
-
- <legal 0-12>
- wep_key_width_for_variable_key
-
- Field only valid when key_type is set to
- wep_varied_width.
-
-
-
- This field indicates the size of the wep key for this
- MPDU.
-
-
-
- <enum 0 wep_varied_width_40> WEP 40-bit
-
- <enum 1 wep_varied_width_104> WEP 104-bit
-
- <enum 2 wep_varied_width_128> WEP 128-bit
-
-
-
- <legal 0-2>
- mesh_sta
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, this is a Mesh (11s) STA
-
- <legal all>
- bssid_hit
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, the BSSID of the incoming frame matched one of
- the 8 BSSID register values
-
-
-
- <legal all>
- bssid_number
-
- Field only valid when bssid_hit is set.
-
-
-
- This number indicates which one out of the 8 BSSID
- register values matched the incoming frame
-
- <legal all>
- tid
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The TID field in the QoS control field
-
- <legal all>
- reserved_3a
-
- <legal 0>
- pn_31_0
-
-
-
-
-
- WEP: IV = {key_id_octet, pn2, pn1, pn0}. Only pn[23:0]
- is valid.
-
- TKIP: IV = {pn5, pn4, pn3, pn2, key_id_octet, pn0,
- WEPSeed[1], pn1}. Only pn[47:0] is valid.
-
- AES-CCM: IV = {pn5, pn4, pn3, pn2, key_id_octet, 0x0,
- pn1, pn0}. Only pn[47:0] is valid.
-
- WAPI: IV = {key_id_octet, 0x0, pn15, pn14, pn13, pn12,
- pn11, pn10, pn9, pn8, pn7, pn6, pn5, pn4, pn3, pn2, pn1,
- pn0}. pn[127:0] are valid.
-
-
-
- pn_63_32
-
-
-
-
- Bits [63:32] of the PN number. See description for
- pn_31_0.
-
-
-
- pn_95_64
-
-
-
-
- Bits [95:64] of the PN number. See description for
- pn_31_0.
-
-
-
- pn_127_96
-
-
-
-
- Bits [127:96] of the PN number. See description for
- pn_31_0.
-
-
-
- peer_meta_data
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Meta data that SW has programmed in the Peer table entry
- of the transmitting STA.
-
- <legal all>
- struct rxpt_classify_info rxpt_classify_info_details
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- RXOLE related classification info
-
- <legal all
- rx_reo_queue_desc_addr_31_0
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Address (lower 32 bits) of the REO queue descriptor.
-
-
-
- If no Peer entry lookup happened for this frame, the
- value wil be set to 0, and the frame shall never be pushed
- to REO entrance ring.
-
- <legal all>
- rx_reo_queue_desc_addr_39_32
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Address (upper 8 bits) of the REO queue descriptor.
-
-
-
- If no Peer entry lookup happened for this frame, the
- value wil be set to 0, and the frame shall never be pushed
- to REO entrance ring.
-
- <legal all>
- receive_queue_number
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Indicates the MPDU queue ID to which this MPDU link
- descriptor belongs
-
- Used for tracking and debugging
-
- <legal all>
- pre_delim_err_warning
-
- Indicates that a delimiter FCS error was found in
- between the Previous MPDU and this MPDU.
-
-
-
- Note that this is just a warning, and does not mean that
- this MPDU is corrupted in any way. If it is, there will be
- other errors indicated such as FCS or decrypt errors
-
-
-
- In case of ndp or phy_err, this field will indicate at
- least one of delimiters located after the last MPDU in the
- previous PPDU has been corrupted.
- first_delim_err
-
- Indicates that the first delimiter had a FCS failure.
- Only valid when first_mpdu and first_msdu are set.
-
-
-
- reserved_11
-
- <legal 0>
- key_id_octet
-
-
-
-
- The key ID octet from the IV.
-
-
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
- <legal all>
- new_peer_entry
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Set if new RX_PEER_ENTRY TLV follows. If clear,
- RX_PEER_ENTRY doesn't follow so RX DECRYPTION module either
- uses old peer entry or not decrypt.
-
- <legal all>
- decrypt_needed
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Set if decryption is needed.
-
-
-
- Note:
-
- When RXPCU sets bit 'ast_index_not_found' and/or
- ast_index_timeout', RXPCU will also ensure that this bit is
- NOT set
-
- CRYPTO for that reason only needs to evaluate this bit
- and non of the other ones.
-
- <legal all>
- decap_type
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Used by the OLE during decapsulation.
-
-
-
- Indicates the decapsulation that HW will perform:
-
-
-
- <enum 0 RAW> No encapsulation
-
- <enum 1 Native_WiFi>
-
- <enum 2 Ethernet> Ethernet 2 (DIX) or 802.3 (uses
- SNAP/LLC)
-
- <enum 3 802_3> Indicate Ethernet
-
-
-
- <legal all>
- rx_insert_vlan_c_tag_padding
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Insert 4 byte of all zeros as VLAN tag if the rx payload
- does not have VLAN. Used during decapsulation.
-
- <legal all>
- rx_insert_vlan_s_tag_padding
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Insert 4 byte of all zeros as double VLAN tag if the rx
- payload does not have VLAN. Used during
-
- <legal all>
- strip_vlan_c_tag_decap
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Strip the VLAN during decapsulation. Used by the OLE.
-
- <legal all>
- strip_vlan_s_tag_decap
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Strip the double VLAN during decapsulation. Used by
- the OLE.
-
- <legal all>
- pre_delim_count
-
- The number of delimiters before this MPDU.
-
-
-
- Note that this number is cleared at PPDU start.
-
-
-
- If this MPDU is the first received MPDU in the PPDU and
- this MPDU gets filtered-in, this field will indicate the
- number of delimiters located after the last MPDU in the
- previous PPDU.
-
-
-
- If this MPDU is located after the first received MPDU in
- an PPDU, this field will indicate the number of delimiters
- located between the previous MPDU and this MPDU.
-
-
-
- In case of ndp or phy_err, this field will indicate the
- number of delimiters located after the last MPDU in the
- previous PPDU.
-
- <legal all>
- ampdu_flag
-
- When set, received frame was part of an A-MPDU.
-
-
-
-
- <legal all>
- bar_frame
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, received frame is a BAR frame
-
- <legal all>
- reserved_12
-
- <legal 0>.
- mpdu_length
-
- In case of ndp or phy_err this field will be set to 0
-
-
-
- MPDU length before decapsulation.
-
- <legal all>
- first_mpdu
-
- See definition in RX attention descriptor
-
-
-
- In case of ndp or phy_err, this field will be set. Note
- however that there will not actually be any data contents in
- the MPDU.
-
- <legal all>
- mcast_bcast
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- ast_index_not_found
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- ast_index_timeout
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- power_mgmt
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- non_qos
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 1
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- null_data
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- mgmt_type
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- ctrl_type
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- more_data
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- eosp
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- fragment_flag
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- order
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
-
-
- <legal all>
- u_apsd_trigger
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- encrypt_required
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- directed
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- reserved_13
-
- <legal 0>
- mpdu_frame_control_field
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- The frame control field of this received MPDU.
-
-
-
- Field only valid when Ndp_frame and phy_err are NOT set
-
-
-
- Bytes 0 + 1 of the received MPDU
-
- <legal all>
- mpdu_duration_field
-
- Field only valid when Mpdu_duration_valid is set
-
-
-
- The duration field of this received MPDU.
-
- <legal all>
- mac_addr_ad1_31_0
-
- Field only valid when mac_addr_ad1_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD1
-
- <legal all>
- mac_addr_ad1_47_32
-
- Field only valid when mac_addr_ad1_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD1
-
- <legal all>
- mac_addr_ad2_15_0
-
- Field only valid when mac_addr_ad2_valid is set
-
-
-
- The Least Significant 2 bytes of the Received Frames MAC
- Address AD2
-
- <legal all>
- mac_addr_ad2_47_16
-
- Field only valid when mac_addr_ad2_valid is set
-
-
-
- The 4 most significant bytes of the Received Frames MAC
- Address AD2
-
- <legal all>
- mac_addr_ad3_31_0
-
- Field only valid when mac_addr_ad3_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD3
-
- <legal all>
- mac_addr_ad3_47_32
-
- Field only valid when mac_addr_ad3_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD3
-
- <legal all>
- mpdu_sequence_control_field
-
-
-
-
- The sequence control field of the MPDU
-
- <legal all>
- mac_addr_ad4_31_0
-
- Field only valid when mac_addr_ad4_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD4
-
- <legal all>
- mac_addr_ad4_47_32
-
- Field only valid when mac_addr_ad4_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD4
-
- <legal all>
- mpdu_qos_control_field
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The sequence control field of the MPDU
-
- <legal all>
- mpdu_ht_control_field
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The HT control field of the MPDU
-
- <legal all>
- */
- /* Description RX_MPDU_INFO_0_RXPCU_MPDU_FILTER_IN_CATEGORY
-
- Field indicates what the reason was that this MPDU frame
- was allowed to come into the receive path by RXPCU
-
- <enum 0 rxpcu_filter_pass> This MPDU passed the normal
- frame filter programming of rxpcu
-
- <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
- regular frame filter and would have been dropped, were it
- not for the frame fitting into the 'monitor_client'
- category.
-
- <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
- regular frame filter and also did not pass the
- rxpcu_monitor_client filter. It would have been dropped
- accept that it did pass the 'monitor_other' category.
-
-
-
- Note: for ndp frame, if it was expected because the
- preceding NDPA was filter_pass, the setting
- rxpcu_filter_pass will be used. This setting will also be
- used for every ndp frame in case Promiscuous mode is
- enabled.
-
-
-
- In case promiscuous is not enabled, and an NDP is not
- preceded by a NPDA filter pass frame, the only other setting
- that could appear here for the NDP is rxpcu_monitor_other.
-
- (rxpcu has a configuration bit specifically for this
- scenario)
-
-
-
- Note: for
-
- <legal 0-2>
- */
- #define RX_MPDU_INFO_0_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0
- #define RX_MPDU_INFO_0_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003
- /* Description RX_MPDU_INFO_0_SW_FRAME_GROUP_ID
-
- SW processes frames based on certain classifications.
- This field indicates to what sw classification this MPDU is
- mapped.
-
- The classification is given in priority order
-
-
-
- <enum 0 sw_frame_group_NDP_frame> Note: The
- corresponding Rxpcu_Mpdu_filter_in_category can be
- rxpcu_filter_pass or rxpcu_monitor_other
-
-
-
- <enum 1 sw_frame_group_Multicast_data>
-
- <enum 2 sw_frame_group_Unicast_data>
-
- <enum 3 sw_frame_group_Null_data > This includes mpdus
- of type Data Null as well as QoS Data Null
-
-
-
- <enum 4 sw_frame_group_mgmt_0000 >
-
- <enum 5 sw_frame_group_mgmt_0001 >
-
- <enum 6 sw_frame_group_mgmt_0010 >
-
- <enum 7 sw_frame_group_mgmt_0011 >
-
- <enum 8 sw_frame_group_mgmt_0100 >
-
- <enum 9 sw_frame_group_mgmt_0101 >
-
- <enum 10 sw_frame_group_mgmt_0110 >
-
- <enum 11 sw_frame_group_mgmt_0111 >
-
- <enum 12 sw_frame_group_mgmt_1000 >
-
- <enum 13 sw_frame_group_mgmt_1001 >
-
- <enum 14 sw_frame_group_mgmt_1010 >
-
- <enum 15 sw_frame_group_mgmt_1011 >
-
- <enum 16 sw_frame_group_mgmt_1100 >
-
- <enum 17 sw_frame_group_mgmt_1101 >
-
- <enum 18 sw_frame_group_mgmt_1110 >
-
- <enum 19 sw_frame_group_mgmt_1111 >
-
-
-
- <enum 20 sw_frame_group_ctrl_0000 >
-
- <enum 21 sw_frame_group_ctrl_0001 >
-
- <enum 22 sw_frame_group_ctrl_0010 >
-
- <enum 23 sw_frame_group_ctrl_0011 >
-
- <enum 24 sw_frame_group_ctrl_0100 >
-
- <enum 25 sw_frame_group_ctrl_0101 >
-
- <enum 26 sw_frame_group_ctrl_0110 >
-
- <enum 27 sw_frame_group_ctrl_0111 >
-
- <enum 28 sw_frame_group_ctrl_1000 >
-
- <enum 29 sw_frame_group_ctrl_1001 >
-
- <enum 30 sw_frame_group_ctrl_1010 >
-
- <enum 31 sw_frame_group_ctrl_1011 >
-
- <enum 32 sw_frame_group_ctrl_1100 >
-
- <enum 33 sw_frame_group_ctrl_1101 >
-
- <enum 34 sw_frame_group_ctrl_1110 >
-
- <enum 35 sw_frame_group_ctrl_1111 >
-
-
-
- <enum 36 sw_frame_group_unsupported> This covers type 3
- and protocol version != 0
-
- Note: The corresponding Rxpcu_Mpdu_filter_in_category
- can only be rxpcu_monitor_other
-
-
-
-
- Note: The corresponding Rxpcu_Mpdu_filter_in_category
- can be rxpcu_filter_pass
-
-
-
- <legal 0-37>
- */
- #define RX_MPDU_INFO_0_SW_FRAME_GROUP_ID_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_SW_FRAME_GROUP_ID_LSB 2
- #define RX_MPDU_INFO_0_SW_FRAME_GROUP_ID_MASK 0x000001fc
- /* Description RX_MPDU_INFO_0_NDP_FRAME
-
- When set, the received frame was an NDP frame, and thus
- there will be no MPDU data.
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_NDP_FRAME_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_NDP_FRAME_LSB 9
- #define RX_MPDU_INFO_0_NDP_FRAME_MASK 0x00000200
- /* Description RX_MPDU_INFO_0_PHY_ERR
-
- When set, a PHY error was received before MAC received
- any data, and thus there will be no MPDU data.
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_PHY_ERR_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_PHY_ERR_LSB 10
- #define RX_MPDU_INFO_0_PHY_ERR_MASK 0x00000400
- /* Description RX_MPDU_INFO_0_PHY_ERR_DURING_MPDU_HEADER
-
- When set, a PHY error was received before MAC received
- the complete MPDU header which was needed for proper
- decoding
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_PHY_ERR_DURING_MPDU_HEADER_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_PHY_ERR_DURING_MPDU_HEADER_LSB 11
- #define RX_MPDU_INFO_0_PHY_ERR_DURING_MPDU_HEADER_MASK 0x00000800
- /* Description RX_MPDU_INFO_0_PROTOCOL_VERSION_ERR
-
- Set when RXPCU detected a version error in the Frame
- control field
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_PROTOCOL_VERSION_ERR_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_PROTOCOL_VERSION_ERR_LSB 12
- #define RX_MPDU_INFO_0_PROTOCOL_VERSION_ERR_MASK 0x00001000
- /* Description RX_MPDU_INFO_0_AST_BASED_LOOKUP_VALID
-
- When set, AST based lookup for this frame has found a
- valid result.
-
-
-
- Note that for NDP frame this will never be set
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_AST_BASED_LOOKUP_VALID_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_AST_BASED_LOOKUP_VALID_LSB 13
- #define RX_MPDU_INFO_0_AST_BASED_LOOKUP_VALID_MASK 0x00002000
- /* Description RX_MPDU_INFO_0_RESERVED_0A
-
- <legal 0>
- */
- #define RX_MPDU_INFO_0_RESERVED_0A_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_RESERVED_0A_LSB 14
- #define RX_MPDU_INFO_0_RESERVED_0A_MASK 0x0000c000
- /* Description RX_MPDU_INFO_0_PHY_PPDU_ID
-
- A ppdu counter value that PHY increments for every PPDU
- received. The counter value wraps around
-
- <legal all>
- */
- #define RX_MPDU_INFO_0_PHY_PPDU_ID_OFFSET 0x00000000
- #define RX_MPDU_INFO_0_PHY_PPDU_ID_LSB 16
- #define RX_MPDU_INFO_0_PHY_PPDU_ID_MASK 0xffff0000
- /* Description RX_MPDU_INFO_1_AST_INDEX
-
- This field indicates the index of the AST entry
- corresponding to this MPDU. It is provided by the GSE module
- instantiated in RXPCU.
-
- A value of 0xFFFF indicates an invalid AST index,
- meaning that No AST entry was found or NO AST search was
- performed
-
-
-
- In case of ndp or phy_err, this field will be set to
- 0xFFFF
-
- <legal all>
- */
- #define RX_MPDU_INFO_1_AST_INDEX_OFFSET 0x00000004
- #define RX_MPDU_INFO_1_AST_INDEX_LSB 0
- #define RX_MPDU_INFO_1_AST_INDEX_MASK 0x0000ffff
- /* Description RX_MPDU_INFO_1_SW_PEER_ID
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- This field indicates a unique peer identifier. It is set
- equal to field 'sw_peer_id' from the AST entry
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_1_SW_PEER_ID_OFFSET 0x00000004
- #define RX_MPDU_INFO_1_SW_PEER_ID_LSB 16
- #define RX_MPDU_INFO_1_SW_PEER_ID_MASK 0xffff0000
- /* Description RX_MPDU_INFO_2_MPDU_FRAME_CONTROL_VALID
-
- When set, the field Mpdu_Frame_control_field has valid
- information
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_FRAME_CONTROL_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_FRAME_CONTROL_VALID_LSB 0
- #define RX_MPDU_INFO_2_MPDU_FRAME_CONTROL_VALID_MASK 0x00000001
- /* Description RX_MPDU_INFO_2_MPDU_DURATION_VALID
-
- When set, the field Mpdu_duration_field has valid
- information
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_DURATION_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_DURATION_VALID_LSB 1
- #define RX_MPDU_INFO_2_MPDU_DURATION_VALID_MASK 0x00000002
- /* Description RX_MPDU_INFO_2_MAC_ADDR_AD1_VALID
-
- When set, the fields mac_addr_ad1_..... have valid
- information
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MAC_ADDR_AD1_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MAC_ADDR_AD1_VALID_LSB 2
- #define RX_MPDU_INFO_2_MAC_ADDR_AD1_VALID_MASK 0x00000004
- /* Description RX_MPDU_INFO_2_MAC_ADDR_AD2_VALID
-
- When set, the fields mac_addr_ad2_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MAC_ADDR_AD2_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MAC_ADDR_AD2_VALID_LSB 3
- #define RX_MPDU_INFO_2_MAC_ADDR_AD2_VALID_MASK 0x00000008
- /* Description RX_MPDU_INFO_2_MAC_ADDR_AD3_VALID
-
- When set, the fields mac_addr_ad3_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MAC_ADDR_AD3_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MAC_ADDR_AD3_VALID_LSB 4
- #define RX_MPDU_INFO_2_MAC_ADDR_AD3_VALID_MASK 0x00000010
- /* Description RX_MPDU_INFO_2_MAC_ADDR_AD4_VALID
-
- When set, the fields mac_addr_ad4_..... have valid
- information
-
-
-
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MAC_ADDR_AD4_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MAC_ADDR_AD4_VALID_LSB 5
- #define RX_MPDU_INFO_2_MAC_ADDR_AD4_VALID_MASK 0x00000020
- /* Description RX_MPDU_INFO_2_MPDU_SEQUENCE_CONTROL_VALID
-
- When set, the fields mpdu_sequence_control_field and
- mpdu_sequence_number have valid information as well as field
-
-
-
- For MPDUs without a sequence control field, this field
- will not be set.
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_CONTROL_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_CONTROL_VALID_LSB 6
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_CONTROL_VALID_MASK 0x00000040
- /* Description RX_MPDU_INFO_2_MPDU_QOS_CONTROL_VALID
-
- When set, the field mpdu_qos_control_field has valid
- information
-
-
-
- For MPDUs without a QoS control field, this field will
- not be set.
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_QOS_CONTROL_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_QOS_CONTROL_VALID_LSB 7
- #define RX_MPDU_INFO_2_MPDU_QOS_CONTROL_VALID_MASK 0x00000080
- /* Description RX_MPDU_INFO_2_MPDU_HT_CONTROL_VALID
-
- When set, the field mpdu_HT_control_field has valid
- information
-
-
-
- For MPDUs without a HT control field, this field will
- not be set.
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_HT_CONTROL_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_HT_CONTROL_VALID_LSB 8
- #define RX_MPDU_INFO_2_MPDU_HT_CONTROL_VALID_MASK 0x00000100
- /* Description RX_MPDU_INFO_2_FRAME_ENCRYPTION_INFO_VALID
-
- When set, the encryption related info fields, like IV
- and PN are valid
-
-
-
- For MPDUs that are not encrypted, this will not be set.
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_FRAME_ENCRYPTION_INFO_VALID_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_FRAME_ENCRYPTION_INFO_VALID_LSB 9
- #define RX_MPDU_INFO_2_FRAME_ENCRYPTION_INFO_VALID_MASK 0x00000200
- /* Description RX_MPDU_INFO_2_MPDU_FRAGMENT_NUMBER
-
- Field only valid when Mpdu_sequence_control_valid is set
- AND Fragment_flag is set
-
-
-
- The fragment number from the 802.11 header.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_FRAGMENT_NUMBER_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_FRAGMENT_NUMBER_LSB 10
- #define RX_MPDU_INFO_2_MPDU_FRAGMENT_NUMBER_MASK 0x00003c00
- /* Description RX_MPDU_INFO_2_MORE_FRAGMENT_FLAG
-
- The More Fragment bit setting from the MPDU header of
- the received frame
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MORE_FRAGMENT_FLAG_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MORE_FRAGMENT_FLAG_LSB 14
- #define RX_MPDU_INFO_2_MORE_FRAGMENT_FLAG_MASK 0x00004000
- /* Description RX_MPDU_INFO_2_RESERVED_2A
-
- <legal 0>
- */
- #define RX_MPDU_INFO_2_RESERVED_2A_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_RESERVED_2A_LSB 15
- #define RX_MPDU_INFO_2_RESERVED_2A_MASK 0x00008000
- /* Description RX_MPDU_INFO_2_FR_DS
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- Set if the from DS bit is set in the frame control.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_FR_DS_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_FR_DS_LSB 16
- #define RX_MPDU_INFO_2_FR_DS_MASK 0x00010000
- /* Description RX_MPDU_INFO_2_TO_DS
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- Set if the to DS bit is set in the frame control.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_TO_DS_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_TO_DS_LSB 17
- #define RX_MPDU_INFO_2_TO_DS_MASK 0x00020000
- /* Description RX_MPDU_INFO_2_ENCRYPTED
-
- Field only valid when Mpdu_frame_control_valid is set.
-
-
-
- Protected bit from the frame control.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_ENCRYPTED_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_ENCRYPTED_LSB 18
- #define RX_MPDU_INFO_2_ENCRYPTED_MASK 0x00040000
- /* Description RX_MPDU_INFO_2_MPDU_RETRY
-
- Field only valid when Mpdu_frame_control_valid is set.
-
-
-
- Retry bit from the frame control. Only valid when
- first_msdu is set.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_RETRY_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_RETRY_LSB 19
- #define RX_MPDU_INFO_2_MPDU_RETRY_MASK 0x00080000
- /* Description RX_MPDU_INFO_2_MPDU_SEQUENCE_NUMBER
-
- Field only valid when Mpdu_sequence_control_valid is
- set.
-
-
-
- The sequence number from the 802.11 header.
-
- <legal all>
- */
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_NUMBER_OFFSET 0x00000008
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_NUMBER_LSB 20
- #define RX_MPDU_INFO_2_MPDU_SEQUENCE_NUMBER_MASK 0xfff00000
- /* Description RX_MPDU_INFO_3_EPD_EN
-
- Field only valid when AST_based_lookup_valid == 1.
-
-
-
-
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- If set to one use EPD instead of LPD
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_EPD_EN_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_EPD_EN_LSB 0
- #define RX_MPDU_INFO_3_EPD_EN_MASK 0x00000001
- /* Description RX_MPDU_INFO_3_ALL_FRAMES_SHALL_BE_ENCRYPTED
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, all frames (data only ?) shall be encrypted.
- If not, RX CRYPTO shall set an error flag.
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_ALL_FRAMES_SHALL_BE_ENCRYPTED_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_ALL_FRAMES_SHALL_BE_ENCRYPTED_LSB 1
- #define RX_MPDU_INFO_3_ALL_FRAMES_SHALL_BE_ENCRYPTED_MASK 0x00000002
- /* Description RX_MPDU_INFO_3_ENCRYPT_TYPE
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Indicates type of decrypt cipher used (as defined in the
- peer entry)
-
-
-
- <enum 0 wep_40> WEP 40-bit
-
- <enum 1 wep_104> WEP 104-bit
-
- <enum 2 tkip_no_mic> TKIP without MIC
-
- <enum 3 wep_128> WEP 128-bit
-
- <enum 4 tkip_with_mic> TKIP with MIC
-
- <enum 5 wapi> WAPI
-
- <enum 6 aes_ccmp_128> AES CCMP 128
-
- <enum 7 no_cipher> No crypto
-
- <enum 8 aes_ccmp_256> AES CCMP 256
-
- <enum 9 aes_gcmp_128> AES CCMP 128
-
- <enum 10 aes_gcmp_256> AES CCMP 256
-
- <enum 11 wapi_gcm_sm4> WAPI GCM SM4
-
-
-
- <enum 12 wep_varied_width> WEP encryption. As for WEP
- per keyid the key bit width can vary, the key bit width for
- this MPDU will be indicated in field
- wep_key_width_for_variable key
-
- <legal 0-12>
- */
- #define RX_MPDU_INFO_3_ENCRYPT_TYPE_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_ENCRYPT_TYPE_LSB 2
- #define RX_MPDU_INFO_3_ENCRYPT_TYPE_MASK 0x0000003c
- /* Description RX_MPDU_INFO_3_WEP_KEY_WIDTH_FOR_VARIABLE_KEY
-
- Field only valid when key_type is set to
- wep_varied_width.
-
-
-
- This field indicates the size of the wep key for this
- MPDU.
-
-
-
- <enum 0 wep_varied_width_40> WEP 40-bit
-
- <enum 1 wep_varied_width_104> WEP 104-bit
-
- <enum 2 wep_varied_width_128> WEP 128-bit
-
-
-
- <legal 0-2>
- */
- #define RX_MPDU_INFO_3_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_LSB 6
- #define RX_MPDU_INFO_3_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_MASK 0x000000c0
- /* Description RX_MPDU_INFO_3_MESH_STA
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, this is a Mesh (11s) STA
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_MESH_STA_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_MESH_STA_LSB 8
- #define RX_MPDU_INFO_3_MESH_STA_MASK 0x00000100
- /* Description RX_MPDU_INFO_3_BSSID_HIT
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, the BSSID of the incoming frame matched one of
- the 8 BSSID register values
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_BSSID_HIT_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_BSSID_HIT_LSB 9
- #define RX_MPDU_INFO_3_BSSID_HIT_MASK 0x00000200
- /* Description RX_MPDU_INFO_3_BSSID_NUMBER
-
- Field only valid when bssid_hit is set.
-
-
-
- This number indicates which one out of the 8 BSSID
- register values matched the incoming frame
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_BSSID_NUMBER_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_BSSID_NUMBER_LSB 10
- #define RX_MPDU_INFO_3_BSSID_NUMBER_MASK 0x00003c00
- /* Description RX_MPDU_INFO_3_TID
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The TID field in the QoS control field
-
- <legal all>
- */
- #define RX_MPDU_INFO_3_TID_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_TID_LSB 14
- #define RX_MPDU_INFO_3_TID_MASK 0x0003c000
- /* Description RX_MPDU_INFO_3_RESERVED_3A
-
- <legal 0>
- */
- #define RX_MPDU_INFO_3_RESERVED_3A_OFFSET 0x0000000c
- #define RX_MPDU_INFO_3_RESERVED_3A_LSB 18
- #define RX_MPDU_INFO_3_RESERVED_3A_MASK 0xfffc0000
- /* Description RX_MPDU_INFO_4_PN_31_0
-
-
-
-
-
- WEP: IV = {key_id_octet, pn2, pn1, pn0}. Only pn[23:0]
- is valid.
-
- TKIP: IV = {pn5, pn4, pn3, pn2, key_id_octet, pn0,
- WEPSeed[1], pn1}. Only pn[47:0] is valid.
-
- AES-CCM: IV = {pn5, pn4, pn3, pn2, key_id_octet, 0x0,
- pn1, pn0}. Only pn[47:0] is valid.
-
- WAPI: IV = {key_id_octet, 0x0, pn15, pn14, pn13, pn12,
- pn11, pn10, pn9, pn8, pn7, pn6, pn5, pn4, pn3, pn2, pn1,
- pn0}. pn[127:0] are valid.
-
-
-
- */
- #define RX_MPDU_INFO_4_PN_31_0_OFFSET 0x00000010
- #define RX_MPDU_INFO_4_PN_31_0_LSB 0
- #define RX_MPDU_INFO_4_PN_31_0_MASK 0xffffffff
- /* Description RX_MPDU_INFO_5_PN_63_32
-
-
-
-
- Bits [63:32] of the PN number. See description for
- pn_31_0.
-
-
-
- */
- #define RX_MPDU_INFO_5_PN_63_32_OFFSET 0x00000014
- #define RX_MPDU_INFO_5_PN_63_32_LSB 0
- #define RX_MPDU_INFO_5_PN_63_32_MASK 0xffffffff
- /* Description RX_MPDU_INFO_6_PN_95_64
-
-
-
-
- Bits [95:64] of the PN number. See description for
- pn_31_0.
-
-
-
- */
- #define RX_MPDU_INFO_6_PN_95_64_OFFSET 0x00000018
- #define RX_MPDU_INFO_6_PN_95_64_LSB 0
- #define RX_MPDU_INFO_6_PN_95_64_MASK 0xffffffff
- /* Description RX_MPDU_INFO_7_PN_127_96
-
-
-
-
- Bits [127:96] of the PN number. See description for
- pn_31_0.
-
-
-
- */
- #define RX_MPDU_INFO_7_PN_127_96_OFFSET 0x0000001c
- #define RX_MPDU_INFO_7_PN_127_96_LSB 0
- #define RX_MPDU_INFO_7_PN_127_96_MASK 0xffffffff
- /* Description RX_MPDU_INFO_8_PEER_META_DATA
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Meta data that SW has programmed in the Peer table entry
- of the transmitting STA.
-
- <legal all>
- */
- #define RX_MPDU_INFO_8_PEER_META_DATA_OFFSET 0x00000020
- #define RX_MPDU_INFO_8_PEER_META_DATA_LSB 0
- #define RX_MPDU_INFO_8_PEER_META_DATA_MASK 0xffffffff
- /* EXTERNAL REFERENCE : struct rxpt_classify_info rxpt_classify_info_details */
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION
-
- The ID of the REO exit ring where the MSDU frame shall
- push after (MPDU level) reordering has finished.
-
-
-
- <enum 0 reo_destination_tcl> Reo will push the frame
- into the REO2TCL ring
-
- <enum 1 reo_destination_sw1> Reo will push the frame
- into the REO2SW1 ring
-
- <enum 2 reo_destination_sw2> Reo will push the frame
- into the REO2SW1 ring
-
- <enum 3 reo_destination_sw3> Reo will push the frame
- into the REO2SW1 ring
-
- <enum 4 reo_destination_sw4> Reo will push the frame
- into the REO2SW1 ring
-
- <enum 5 reo_destination_release> Reo will push the frame
- into the REO_release ring
-
- <enum 6 reo_destination_fw> Reo will push the frame into
- the REO2FW ring
-
- <enum 7 reo_destination_7> REO remaps this
-
- <enum 8 reo_destination_8> REO remaps this <enum 9
- reo_destination_9> REO remaps this <enum 10
- reo_destination_10> REO remaps this
-
- <enum 11 reo_destination_11> REO remaps this
-
- <enum 12 reo_destination_12> REO remaps this <enum 13
- reo_destination_13> REO remaps this
-
- <enum 14 reo_destination_14> REO remaps this
-
- <enum 15 reo_destination_15> REO remaps this
-
- <enum 16 reo_destination_16> REO remaps this
-
- <enum 17 reo_destination_17> REO remaps this
-
- <enum 18 reo_destination_18> REO remaps this
-
- <enum 19 reo_destination_19> REO remaps this
-
- <enum 20 reo_destination_20> REO remaps this
-
- <enum 21 reo_destination_21> REO remaps this
-
- <enum 22 reo_destination_22> REO remaps this
-
- <enum 23 reo_destination_23> REO remaps this
-
- <enum 24 reo_destination_24> REO remaps this
-
- <enum 25 reo_destination_25> REO remaps this
-
- <enum 26 reo_destination_26> REO remaps this
-
- <enum 27 reo_destination_27> REO remaps this
-
- <enum 28 reo_destination_28> REO remaps this
-
- <enum 29 reo_destination_29> REO remaps this
-
- <enum 30 reo_destination_30> REO remaps this
-
- <enum 31 reo_destination_31> REO remaps this
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 0
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x0000001f
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0A
-
- <legal 0>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0A_LSB 5
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0A_MASK 0x00000060
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY
-
- Field is used to enable classification based on the
- chosen Toeplitz hash from Common Parser (without reference
- to each hash type).
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_LSB 7
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_MASK 0x00000080
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA
-
- Filter pass ucast data frame routing selection.
-
-
-
- 1'b0: source and destination rings are selected from the
- RxOLE register settings for the packet type
-
-
-
- 1'b1: source ring and destination ring is selected from
- the rxdma0_source_ring_selection and
- rxdma0_destination_ring_selection fields in this STRUCT
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_LSB 8
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_MASK 0x00000100
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA
-
- Filter pass multicase data frame routing selection.
-
-
-
- 1'b0: source and destination rings are selected from the
- RxOLE register settings for the packet type
-
-
-
- 1'b1: source ring and destination ring is selected from
- the rxdma0_source_ring_selection and
- rxdma0_destination_ring_selection fields in this STRUCT
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_LSB 9
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_MASK 0x00000200
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000
-
- Filter pass control bar frame routing selection.
-
-
-
- 1'b0: source and destination rings are selected from the
- RxOLE register settings for the packet type
-
-
-
- 1'b1: source ring and destination ring is selected from
- the rxdma0_source_ring_selection and
- rxdma0_destination_ring_selection fields in this STRUCT
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_LSB 10
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_MASK 0x00000400
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION
-
- Field only valid when for the received frame type the
- corresponding pkt_selection_fp_... bit is set
-
-
-
- <enum 0 wbm2rxdma_buf_source_ring> The data buffer for
- this frame shall be sourced by wbm2rxdma buffer source ring
-
- <enum 1 fw2rxdma_buf_source_ring> The data buffer for
- this frame shall be sourced by fw2rxdma buffer source ring
-
- <enum 2 sw2rxdma_buf_source_ring> The data buffer for
- this frame shall be sourced by sw2rxdma buffer source ring
-
- <enum 3 no_buffer_ring> The frame shall not be written
- to any data buffer
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_LSB 11
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_MASK 0x00001800
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION
-
- Field only valid when for the received frame type the
- corresponding pkt_selection_fp_... bit is set
-
-
-
- <enum 0 rxdma_release_ring > RXDMA0 shall push the
- frame to the Release ring. Effectively this means the frame
- needs to be dropped.
-
-
-
- <enum 1 rxdma2fw_ring > RXDMA0 shall push the frame to
- the FW ring
-
-
-
- <enum 2 rxdma2sw_ring > RXDMA0 shall push the frame to
- the SW ring
-
-
-
- <enum 3 rxdma2reo_ring > RXDMA0 shall push the frame
- to the REO entrance ring
-
- <legal all>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_LSB 13
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_MASK 0x00006000
- /* Description RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B
-
- <legal 0>
- */
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_OFFSET 0x00000024
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_LSB 15
- #define RX_MPDU_INFO_9_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_MASK 0xffff8000
- /* Description RX_MPDU_INFO_10_RX_REO_QUEUE_DESC_ADDR_31_0
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Address (lower 32 bits) of the REO queue descriptor.
-
-
-
- If no Peer entry lookup happened for this frame, the
- value wil be set to 0, and the frame shall never be pushed
- to REO entrance ring.
-
- <legal all>
- */
- #define RX_MPDU_INFO_10_RX_REO_QUEUE_DESC_ADDR_31_0_OFFSET 0x00000028
- #define RX_MPDU_INFO_10_RX_REO_QUEUE_DESC_ADDR_31_0_LSB 0
- #define RX_MPDU_INFO_10_RX_REO_QUEUE_DESC_ADDR_31_0_MASK 0xffffffff
- /* Description RX_MPDU_INFO_11_RX_REO_QUEUE_DESC_ADDR_39_32
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Address (upper 8 bits) of the REO queue descriptor.
-
-
-
- If no Peer entry lookup happened for this frame, the
- value wil be set to 0, and the frame shall never be pushed
- to REO entrance ring.
-
- <legal all>
- */
- #define RX_MPDU_INFO_11_RX_REO_QUEUE_DESC_ADDR_39_32_OFFSET 0x0000002c
- #define RX_MPDU_INFO_11_RX_REO_QUEUE_DESC_ADDR_39_32_LSB 0
- #define RX_MPDU_INFO_11_RX_REO_QUEUE_DESC_ADDR_39_32_MASK 0x000000ff
- /* Description RX_MPDU_INFO_11_RECEIVE_QUEUE_NUMBER
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Indicates the MPDU queue ID to which this MPDU link
- descriptor belongs
-
- Used for tracking and debugging
-
- <legal all>
- */
- #define RX_MPDU_INFO_11_RECEIVE_QUEUE_NUMBER_OFFSET 0x0000002c
- #define RX_MPDU_INFO_11_RECEIVE_QUEUE_NUMBER_LSB 8
- #define RX_MPDU_INFO_11_RECEIVE_QUEUE_NUMBER_MASK 0x00ffff00
- /* Description RX_MPDU_INFO_11_PRE_DELIM_ERR_WARNING
-
- Indicates that a delimiter FCS error was found in
- between the Previous MPDU and this MPDU.
-
-
-
- Note that this is just a warning, and does not mean that
- this MPDU is corrupted in any way. If it is, there will be
- other errors indicated such as FCS or decrypt errors
-
-
-
- In case of ndp or phy_err, this field will indicate at
- least one of delimiters located after the last MPDU in the
- previous PPDU has been corrupted.
- */
- #define RX_MPDU_INFO_11_PRE_DELIM_ERR_WARNING_OFFSET 0x0000002c
- #define RX_MPDU_INFO_11_PRE_DELIM_ERR_WARNING_LSB 24
- #define RX_MPDU_INFO_11_PRE_DELIM_ERR_WARNING_MASK 0x01000000
- /* Description RX_MPDU_INFO_11_FIRST_DELIM_ERR
-
- Indicates that the first delimiter had a FCS failure.
- Only valid when first_mpdu and first_msdu are set.
-
-
-
- */
- #define RX_MPDU_INFO_11_FIRST_DELIM_ERR_OFFSET 0x0000002c
- #define RX_MPDU_INFO_11_FIRST_DELIM_ERR_LSB 25
- #define RX_MPDU_INFO_11_FIRST_DELIM_ERR_MASK 0x02000000
- /* Description RX_MPDU_INFO_11_RESERVED_11
-
- <legal 0>
- */
- #define RX_MPDU_INFO_11_RESERVED_11_OFFSET 0x0000002c
- #define RX_MPDU_INFO_11_RESERVED_11_LSB 26
- #define RX_MPDU_INFO_11_RESERVED_11_MASK 0xfc000000
- /* Description RX_MPDU_INFO_12_KEY_ID_OCTET
-
-
-
-
- The key ID octet from the IV.
-
-
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_KEY_ID_OCTET_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_KEY_ID_OCTET_LSB 0
- #define RX_MPDU_INFO_12_KEY_ID_OCTET_MASK 0x000000ff
- /* Description RX_MPDU_INFO_12_NEW_PEER_ENTRY
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Set if new RX_PEER_ENTRY TLV follows. If clear,
- RX_PEER_ENTRY doesn't follow so RX DECRYPTION module either
- uses old peer entry or not decrypt.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_NEW_PEER_ENTRY_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_NEW_PEER_ENTRY_LSB 8
- #define RX_MPDU_INFO_12_NEW_PEER_ENTRY_MASK 0x00000100
- /* Description RX_MPDU_INFO_12_DECRYPT_NEEDED
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Set if decryption is needed.
-
-
-
- Note:
-
- When RXPCU sets bit 'ast_index_not_found' and/or
- ast_index_timeout', RXPCU will also ensure that this bit is
- NOT set
-
- CRYPTO for that reason only needs to evaluate this bit
- and non of the other ones.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_DECRYPT_NEEDED_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_DECRYPT_NEEDED_LSB 9
- #define RX_MPDU_INFO_12_DECRYPT_NEEDED_MASK 0x00000200
- /* Description RX_MPDU_INFO_12_DECAP_TYPE
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Used by the OLE during decapsulation.
-
-
-
- Indicates the decapsulation that HW will perform:
-
-
-
- <enum 0 RAW> No encapsulation
-
- <enum 1 Native_WiFi>
-
- <enum 2 Ethernet> Ethernet 2 (DIX) or 802.3 (uses
- SNAP/LLC)
-
- <enum 3 802_3> Indicate Ethernet
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_DECAP_TYPE_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_DECAP_TYPE_LSB 10
- #define RX_MPDU_INFO_12_DECAP_TYPE_MASK 0x00000c00
- /* Description RX_MPDU_INFO_12_RX_INSERT_VLAN_C_TAG_PADDING
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Insert 4 byte of all zeros as VLAN tag if the rx payload
- does not have VLAN. Used during decapsulation.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_C_TAG_PADDING_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_C_TAG_PADDING_LSB 12
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_C_TAG_PADDING_MASK 0x00001000
- /* Description RX_MPDU_INFO_12_RX_INSERT_VLAN_S_TAG_PADDING
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Insert 4 byte of all zeros as double VLAN tag if the rx
- payload does not have VLAN. Used during
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_S_TAG_PADDING_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_S_TAG_PADDING_LSB 13
- #define RX_MPDU_INFO_12_RX_INSERT_VLAN_S_TAG_PADDING_MASK 0x00002000
- /* Description RX_MPDU_INFO_12_STRIP_VLAN_C_TAG_DECAP
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Strip the VLAN during decapsulation. Used by the OLE.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_STRIP_VLAN_C_TAG_DECAP_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_STRIP_VLAN_C_TAG_DECAP_LSB 14
- #define RX_MPDU_INFO_12_STRIP_VLAN_C_TAG_DECAP_MASK 0x00004000
- /* Description RX_MPDU_INFO_12_STRIP_VLAN_S_TAG_DECAP
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- Strip the double VLAN during decapsulation. Used by
- the OLE.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_STRIP_VLAN_S_TAG_DECAP_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_STRIP_VLAN_S_TAG_DECAP_LSB 15
- #define RX_MPDU_INFO_12_STRIP_VLAN_S_TAG_DECAP_MASK 0x00008000
- /* Description RX_MPDU_INFO_12_PRE_DELIM_COUNT
-
- The number of delimiters before this MPDU.
-
-
-
- Note that this number is cleared at PPDU start.
-
-
-
- If this MPDU is the first received MPDU in the PPDU and
- this MPDU gets filtered-in, this field will indicate the
- number of delimiters located after the last MPDU in the
- previous PPDU.
-
-
-
- If this MPDU is located after the first received MPDU in
- an PPDU, this field will indicate the number of delimiters
- located between the previous MPDU and this MPDU.
-
-
-
- In case of ndp or phy_err, this field will indicate the
- number of delimiters located after the last MPDU in the
- previous PPDU.
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_PRE_DELIM_COUNT_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_PRE_DELIM_COUNT_LSB 16
- #define RX_MPDU_INFO_12_PRE_DELIM_COUNT_MASK 0x0fff0000
- /* Description RX_MPDU_INFO_12_AMPDU_FLAG
-
- When set, received frame was part of an A-MPDU.
-
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_AMPDU_FLAG_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_AMPDU_FLAG_LSB 28
- #define RX_MPDU_INFO_12_AMPDU_FLAG_MASK 0x10000000
- /* Description RX_MPDU_INFO_12_BAR_FRAME
-
- In case of ndp or phy_err or AST_based_lookup_valid ==
- 0, this field will be set to 0
-
-
-
- When set, received frame is a BAR frame
-
- <legal all>
- */
- #define RX_MPDU_INFO_12_BAR_FRAME_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_BAR_FRAME_LSB 29
- #define RX_MPDU_INFO_12_BAR_FRAME_MASK 0x20000000
- /* Description RX_MPDU_INFO_12_RESERVED_12
-
- <legal 0>.
- */
- #define RX_MPDU_INFO_12_RESERVED_12_OFFSET 0x00000030
- #define RX_MPDU_INFO_12_RESERVED_12_LSB 30
- #define RX_MPDU_INFO_12_RESERVED_12_MASK 0xc0000000
- /* Description RX_MPDU_INFO_13_MPDU_LENGTH
-
- In case of ndp or phy_err this field will be set to 0
-
-
-
- MPDU length before decapsulation.
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_MPDU_LENGTH_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_MPDU_LENGTH_LSB 0
- #define RX_MPDU_INFO_13_MPDU_LENGTH_MASK 0x00003fff
- /* Description RX_MPDU_INFO_13_FIRST_MPDU
-
- See definition in RX attention descriptor
-
-
-
- In case of ndp or phy_err, this field will be set. Note
- however that there will not actually be any data contents in
- the MPDU.
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_FIRST_MPDU_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_FIRST_MPDU_LSB 14
- #define RX_MPDU_INFO_13_FIRST_MPDU_MASK 0x00004000
- /* Description RX_MPDU_INFO_13_MCAST_BCAST
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_MCAST_BCAST_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_MCAST_BCAST_LSB 15
- #define RX_MPDU_INFO_13_MCAST_BCAST_MASK 0x00008000
- /* Description RX_MPDU_INFO_13_AST_INDEX_NOT_FOUND
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_AST_INDEX_NOT_FOUND_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_AST_INDEX_NOT_FOUND_LSB 16
- #define RX_MPDU_INFO_13_AST_INDEX_NOT_FOUND_MASK 0x00010000
- /* Description RX_MPDU_INFO_13_AST_INDEX_TIMEOUT
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_AST_INDEX_TIMEOUT_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_AST_INDEX_TIMEOUT_LSB 17
- #define RX_MPDU_INFO_13_AST_INDEX_TIMEOUT_MASK 0x00020000
- /* Description RX_MPDU_INFO_13_POWER_MGMT
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_POWER_MGMT_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_POWER_MGMT_LSB 18
- #define RX_MPDU_INFO_13_POWER_MGMT_MASK 0x00040000
- /* Description RX_MPDU_INFO_13_NON_QOS
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 1
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_NON_QOS_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_NON_QOS_LSB 19
- #define RX_MPDU_INFO_13_NON_QOS_MASK 0x00080000
- /* Description RX_MPDU_INFO_13_NULL_DATA
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_NULL_DATA_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_NULL_DATA_LSB 20
- #define RX_MPDU_INFO_13_NULL_DATA_MASK 0x00100000
- /* Description RX_MPDU_INFO_13_MGMT_TYPE
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_MGMT_TYPE_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_MGMT_TYPE_LSB 21
- #define RX_MPDU_INFO_13_MGMT_TYPE_MASK 0x00200000
- /* Description RX_MPDU_INFO_13_CTRL_TYPE
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_CTRL_TYPE_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_CTRL_TYPE_LSB 22
- #define RX_MPDU_INFO_13_CTRL_TYPE_MASK 0x00400000
- /* Description RX_MPDU_INFO_13_MORE_DATA
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_MORE_DATA_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_MORE_DATA_LSB 23
- #define RX_MPDU_INFO_13_MORE_DATA_MASK 0x00800000
- /* Description RX_MPDU_INFO_13_EOSP
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_EOSP_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_EOSP_LSB 24
- #define RX_MPDU_INFO_13_EOSP_MASK 0x01000000
- /* Description RX_MPDU_INFO_13_FRAGMENT_FLAG
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_FRAGMENT_FLAG_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_FRAGMENT_FLAG_LSB 25
- #define RX_MPDU_INFO_13_FRAGMENT_FLAG_MASK 0x02000000
- /* Description RX_MPDU_INFO_13_ORDER
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
-
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_ORDER_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_ORDER_LSB 26
- #define RX_MPDU_INFO_13_ORDER_MASK 0x04000000
- /* Description RX_MPDU_INFO_13_U_APSD_TRIGGER
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_U_APSD_TRIGGER_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_U_APSD_TRIGGER_LSB 27
- #define RX_MPDU_INFO_13_U_APSD_TRIGGER_MASK 0x08000000
- /* Description RX_MPDU_INFO_13_ENCRYPT_REQUIRED
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_ENCRYPT_REQUIRED_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_ENCRYPT_REQUIRED_LSB 28
- #define RX_MPDU_INFO_13_ENCRYPT_REQUIRED_MASK 0x10000000
- /* Description RX_MPDU_INFO_13_DIRECTED
-
- In case of ndp or phy_err or Phy_err_during_mpdu_header
- this field will be set to 0
-
-
-
- See definition in RX attention descriptor
-
- <legal all>
- */
- #define RX_MPDU_INFO_13_DIRECTED_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_DIRECTED_LSB 29
- #define RX_MPDU_INFO_13_DIRECTED_MASK 0x20000000
- /* Description RX_MPDU_INFO_13_RESERVED_13
-
- <legal 0>
- */
- #define RX_MPDU_INFO_13_RESERVED_13_OFFSET 0x00000034
- #define RX_MPDU_INFO_13_RESERVED_13_LSB 30
- #define RX_MPDU_INFO_13_RESERVED_13_MASK 0xc0000000
- /* Description RX_MPDU_INFO_14_MPDU_FRAME_CONTROL_FIELD
-
- Field only valid when Mpdu_frame_control_valid is set
-
-
-
- The frame control field of this received MPDU.
-
-
-
- Field only valid when Ndp_frame and phy_err are NOT set
-
-
-
- Bytes 0 + 1 of the received MPDU
-
- <legal all>
- */
- #define RX_MPDU_INFO_14_MPDU_FRAME_CONTROL_FIELD_OFFSET 0x00000038
- #define RX_MPDU_INFO_14_MPDU_FRAME_CONTROL_FIELD_LSB 0
- #define RX_MPDU_INFO_14_MPDU_FRAME_CONTROL_FIELD_MASK 0x0000ffff
- /* Description RX_MPDU_INFO_14_MPDU_DURATION_FIELD
-
- Field only valid when Mpdu_duration_valid is set
-
-
-
- The duration field of this received MPDU.
-
- <legal all>
- */
- #define RX_MPDU_INFO_14_MPDU_DURATION_FIELD_OFFSET 0x00000038
- #define RX_MPDU_INFO_14_MPDU_DURATION_FIELD_LSB 16
- #define RX_MPDU_INFO_14_MPDU_DURATION_FIELD_MASK 0xffff0000
- /* Description RX_MPDU_INFO_15_MAC_ADDR_AD1_31_0
-
- Field only valid when mac_addr_ad1_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD1
-
- <legal all>
- */
- #define RX_MPDU_INFO_15_MAC_ADDR_AD1_31_0_OFFSET 0x0000003c
- #define RX_MPDU_INFO_15_MAC_ADDR_AD1_31_0_LSB 0
- #define RX_MPDU_INFO_15_MAC_ADDR_AD1_31_0_MASK 0xffffffff
- /* Description RX_MPDU_INFO_16_MAC_ADDR_AD1_47_32
-
- Field only valid when mac_addr_ad1_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD1
-
- <legal all>
- */
- #define RX_MPDU_INFO_16_MAC_ADDR_AD1_47_32_OFFSET 0x00000040
- #define RX_MPDU_INFO_16_MAC_ADDR_AD1_47_32_LSB 0
- #define RX_MPDU_INFO_16_MAC_ADDR_AD1_47_32_MASK 0x0000ffff
- /* Description RX_MPDU_INFO_16_MAC_ADDR_AD2_15_0
-
- Field only valid when mac_addr_ad2_valid is set
-
-
-
- The Least Significant 2 bytes of the Received Frames MAC
- Address AD2
-
- <legal all>
- */
- #define RX_MPDU_INFO_16_MAC_ADDR_AD2_15_0_OFFSET 0x00000040
- #define RX_MPDU_INFO_16_MAC_ADDR_AD2_15_0_LSB 16
- #define RX_MPDU_INFO_16_MAC_ADDR_AD2_15_0_MASK 0xffff0000
- /* Description RX_MPDU_INFO_17_MAC_ADDR_AD2_47_16
-
- Field only valid when mac_addr_ad2_valid is set
-
-
-
- The 4 most significant bytes of the Received Frames MAC
- Address AD2
-
- <legal all>
- */
- #define RX_MPDU_INFO_17_MAC_ADDR_AD2_47_16_OFFSET 0x00000044
- #define RX_MPDU_INFO_17_MAC_ADDR_AD2_47_16_LSB 0
- #define RX_MPDU_INFO_17_MAC_ADDR_AD2_47_16_MASK 0xffffffff
- /* Description RX_MPDU_INFO_18_MAC_ADDR_AD3_31_0
-
- Field only valid when mac_addr_ad3_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD3
-
- <legal all>
- */
- #define RX_MPDU_INFO_18_MAC_ADDR_AD3_31_0_OFFSET 0x00000048
- #define RX_MPDU_INFO_18_MAC_ADDR_AD3_31_0_LSB 0
- #define RX_MPDU_INFO_18_MAC_ADDR_AD3_31_0_MASK 0xffffffff
- /* Description RX_MPDU_INFO_19_MAC_ADDR_AD3_47_32
-
- Field only valid when mac_addr_ad3_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD3
-
- <legal all>
- */
- #define RX_MPDU_INFO_19_MAC_ADDR_AD3_47_32_OFFSET 0x0000004c
- #define RX_MPDU_INFO_19_MAC_ADDR_AD3_47_32_LSB 0
- #define RX_MPDU_INFO_19_MAC_ADDR_AD3_47_32_MASK 0x0000ffff
- /* Description RX_MPDU_INFO_19_MPDU_SEQUENCE_CONTROL_FIELD
-
-
-
-
- The sequence control field of the MPDU
-
- <legal all>
- */
- #define RX_MPDU_INFO_19_MPDU_SEQUENCE_CONTROL_FIELD_OFFSET 0x0000004c
- #define RX_MPDU_INFO_19_MPDU_SEQUENCE_CONTROL_FIELD_LSB 16
- #define RX_MPDU_INFO_19_MPDU_SEQUENCE_CONTROL_FIELD_MASK 0xffff0000
- /* Description RX_MPDU_INFO_20_MAC_ADDR_AD4_31_0
-
- Field only valid when mac_addr_ad4_valid is set
-
-
-
- The Least Significant 4 bytes of the Received Frames MAC
- Address AD4
-
- <legal all>
- */
- #define RX_MPDU_INFO_20_MAC_ADDR_AD4_31_0_OFFSET 0x00000050
- #define RX_MPDU_INFO_20_MAC_ADDR_AD4_31_0_LSB 0
- #define RX_MPDU_INFO_20_MAC_ADDR_AD4_31_0_MASK 0xffffffff
- /* Description RX_MPDU_INFO_21_MAC_ADDR_AD4_47_32
-
- Field only valid when mac_addr_ad4_valid is set
-
-
-
- The 2 most significant bytes of the Received Frames MAC
- Address AD4
-
- <legal all>
- */
- #define RX_MPDU_INFO_21_MAC_ADDR_AD4_47_32_OFFSET 0x00000054
- #define RX_MPDU_INFO_21_MAC_ADDR_AD4_47_32_LSB 0
- #define RX_MPDU_INFO_21_MAC_ADDR_AD4_47_32_MASK 0x0000ffff
- /* Description RX_MPDU_INFO_21_MPDU_QOS_CONTROL_FIELD
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The sequence control field of the MPDU
-
- <legal all>
- */
- #define RX_MPDU_INFO_21_MPDU_QOS_CONTROL_FIELD_OFFSET 0x00000054
- #define RX_MPDU_INFO_21_MPDU_QOS_CONTROL_FIELD_LSB 16
- #define RX_MPDU_INFO_21_MPDU_QOS_CONTROL_FIELD_MASK 0xffff0000
- /* Description RX_MPDU_INFO_22_MPDU_HT_CONTROL_FIELD
-
- Field only valid when mpdu_qos_control_valid is set
-
-
-
- The HT control field of the MPDU
-
- <legal all>
- */
- #define RX_MPDU_INFO_22_MPDU_HT_CONTROL_FIELD_OFFSET 0x00000058
- #define RX_MPDU_INFO_22_MPDU_HT_CONTROL_FIELD_LSB 0
- #define RX_MPDU_INFO_22_MPDU_HT_CONTROL_FIELD_MASK 0xffffffff
- #endif // _RX_MPDU_INFO_H_
|