aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp_commands.c
diff options
context:
space:
mode:
authorGrishma Kotecha <grishma.kotecha@intel.com>2021-08-06 10:48:58 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-10-11 07:41:49 -0700
commit7715ec32472c792ca4bd170345e30fb48e191799 (patch)
treea8221767e0b60db21c0323c9be0663ce2adc3160 /net/nfc/llcp_commands.c
parentethernet: sun: add missing semicolon, fix build (diff)
downloadlinux-rng-7715ec32472c792ca4bd170345e30fb48e191799.tar.xz
linux-rng-7715ec32472c792ca4bd170345e30fb48e191799.zip
ice: implement low level recipes functions
Add code to manage recipes and profiles on admin queue layer. Allow the driver to add a new recipe and update an existing one. Get a recipe and get a recipe to profile association is mostly used in update existing recipes code. Only default recipes can be updated. An update is done by reading recipes from HW, changing their params and calling add recipe command. Support following admin queue commands: - ice_aqc_opc_add_recipe (0x0290) - create a recipe with protocol header information and other details that determine how this recipe filter works - ice_aqc_opc_recipe_to_profile (0x0291) - associate a switch recipe to a profile - ice_aqc_opc_get_recipe (0x0292) - get details of an existing recipe - ice_aqc_opc_get_recipe_to_profile (0x0293) - get a recipe associated with profile ID Define ICE_AQC_RES_TYPE_RECIPE resource type to hold a switch recipe. It is needed when a new switch recipe needs to be created. Co-developed-by: Dan Nowlin <dan.nowlin@intel.com> Signed-off-by: Dan Nowlin <dan.nowlin@intel.com> Signed-off-by: Grishma Kotecha <grishma.kotecha@intel.com> Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com> Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/nfc/llcp_commands.c')
0 files changed, 0 insertions, 0 deletions